Principals of Thermaldynamic Internal Combustion Engines