Parallel 2D K-means algorithm working.