Algorithm

Updated KMeans.