New mean value calculation