Add some code for adiabatic lapse rates.