Propagation of Wavefronts in Thermoelastic Media