Minimum Vertical Distance Calculator