Mean Value Modelling of the Gas Exchange of a 4-stroke Diesel Engine for Use in Powertrain Applications