Added altitude helper functions