wbt_max_upslope_value function

Max upslope value