A mathematical model for the prediction of the injected mass diagram of a S.I. engine gas injector