fix basic kmeans clustering vs centroids