A Mean Value Internal Combustion Engine Model in MapleSim