update kmeans.java