add multiprocessing to kmeans