Engine and Aftertreatment Modeling for Gasoline Direct Injection