Fixed adjusted elevation calculation ratio to 25%
Added adustment mode parameterization.