Kmeans cleanup

such things should be documented in class doc