Kmeans cleanup

here too