Fixes divide by zero
Merge pull request #1 from jtbates/issue1

kmeans - NaN Centroids