Altitude conversion added.
Added testing and made minor tweaks.