Gravity Waves Perturb the Martian Atmosphere's Thermal Structure