The Regenerator and the Stirling Engine