Vertical Distance Formula