Vertical Distance Equation Formula