wbt_max_difference_from_mean function

Max difference from mean