fixed memory leaking
Fixed NaN bug (when no exemples were assigned to a centroid)
increased the size of the tests