moved centroid out of init mu, and need to remove vector free from init mu also