Model-Based Calibration Process for Producing Optimal Spark Advance in a Gasoline Engine Equipped with a Variable Valve Train