Cleaned up some code in the Altimeter library