Acoustic-Gravity Wave Calculations in a Layer with a Linear Temperature Variation