Only calculate distances to the correct number of centroids when using prespecified mus.
Merge pull request #1230 from rcurtin/develop

Only calculate distances to the correct number of centroids when using prespecified mus.