Transient optimization of a medium duty diesel engine equipped with a high pressure EGR and variable nozzle turbocharger