The Theory of Waves in Stratified Fluids Including the Effects of Gravity and Rotation