Cluster assignment phase for Kmean