Added euclidean distance metric