First Principles of the Compression Ignition Engine