Thermodynamics and Gas Dynamics of the Stirling Cycle Machine