docs: public double[][] updateRanges(Instance instance, double[][] ranges) {
      // updateRangesFirst must have been called on ranges
      for (int j = 0; j < ranges.length; j++) {
        double value = instance.value(j);
        if (!instance.isMissing(j)) {
          if (value < ranges[j][R_MIN]) {
            ranges[j][R_MIN] = value;
            ranges[j][R_WIDTH] = ranges[j][R_MAX] - ranges[j][R_MIN];
          } else {
            if (instance.value(j) > ranges[j][R_MAX]) {
              ranges[j][R_MAX] = value;
              ranges[j][R_WIDTH] = ranges[j][R_MAX] - ranges[j][R_MIN];
            }
          }
        }
      }
      
      return ranges;
    }