Improvements to BallKMeans.

- replaced fixed L2 metric with the metric used by the searcher
- added random seed initialization