Test geotherm

Made some warnings and a geotherm test for adiabat.