add KMeans calculation example