Kmeans cleanup

Maybe add some more documentation here: Wikipedia link, some (minimal) math describing what it does