Simple KMeans
Fix distance functions