Vertical Distance Equation