public float euclideanDistance (float x1,float y1, float x2,float y2){
     	    float term1 = x1 - x2;
     	    float term2 = y1 - y2;
     	    return (float) Math.sqrt((term1*term1)+(term2*term2));
       }