add kmeans calculator