Getting kmeans centroids.