Parallel Kmeans and Optics Improvements