Kmeans: more useful output format; make it act more like a utility class