Did some debugging on the kmeans