Modify method names in weightedEuclideanDistance