finished surf_kmeans