Corrected correlation for Kmeans