Add code for spherical K-means.