Kmeans cleanup

BSD please
and also add the other authors