final cleanup of the kmeans algorithm
Authored by: gerddie 2010-02-22
Parent: [r1516]
Child: [r1518]