Minor refactorings following the last commit for KMeans
Merge pull request #72 from smarthi/suneel

Minor refactorings following the last commit for KMeans