mean_center function

Mean center