A Time-Saving Methodology for Optimizing a Compression Ignition Engine to Reduce Fuel Consumption through Machine Learning