Estimation of parameters affected in internal exhaust residual gases recirculation and the influence of exhaust residual gas on performance and emission of a spark ignition engine