Refined the clustering API and K-means implementation a bit.
Implemented a wrapper around K-means to run multiple iterations with random initialization.