Fundamentals of Atmospheric Dynamics and Thermodynamics