public static boolean between(double min, double med, double max, double epsilon) {
    return compare(min, med, epsilon) < 0 && compare(med, max, epsilon) < 0;
  }
public static boolean between(double min, double med, double max, double epsilon)