Renamed DistanceAlgorithmImpl to EuclideanDistance. Closes #334.