print weight and 2norm of centroid