Modeling and Optimization of IC Engines using Python