add_mean_bar function

Add mean