public static boolean eq(double a,double b){ return (a-b < 1e-6) && (b-a < 1e-6);
public static boolean eq(double a, double b){  return (a - b < SMALL) && (b - a < SMALL);
  public static boolean eq(double a,double b){    return (a-b < 1e-6) && (b-a < 1e-6);   }