kmeans working fine