Adding more code for Parallel KMeanClustering