revised Cluster function so that it can be reused in KMeans++ reclustering