Added K-means.