Numerical Optimization of a Racing Engine with Variable Intake and Exhaust Geometry and Valve Actuation