Update kmeans.c