Added some threads to maybe optimize k-means.
Optimized k-means simple visualization a bit.