added getEuclidianDistances