Kmeans cleanup

https://github.com/shogun-toolbox/shogun/wiki/Assertions