multithreaded kMeans added