some modifications for k-means(pp)
some modifications for k-means(pp)

Description: copy_probability can lead to less detected clusters than desired.
Issue: Led to problem in searching for new values, when drawing a random number between 0 and 0
Solution: copy_probability stops now, when no new random value from the distance sums can be drawn. the algorithm returns the amount of detected values so far

k-means: initialization of index vector was too small

Ubitrack/utcore,Ubitrack/utcore,Ubitrack/utcore