Tweaked some of the kmeans things again.