Changed k-means initialization: using normalized centroids.

Ultimately, the initial centroids should probably be an argument to the function; for now unit norm centroids is a general enough initial point?