Dynamical Heating in the Martian Thermosphere