Finally fixed kmeans prepare