public static int listCompare(ArrayList<Double> l1, ArrayList<Double> l2){       
        int size = l1.size();
        int i;
        double[] diff = new double[size];
        for(i = 0; i < size; i++){
            Double d1 = l1.get(i);
            Double d2 = l2.get(i);
            if(d1 - d2 > epsilon){
                diff[i] = 1;
            }
            else{
                diff[i] = 0;
            }
        }
        for(i = 0; i < size; i++){
            if(diff[i] == 1){
                return 1;
            }
        }
        return 0;
    }