An extended Kalman observer for the in-cylinder air mass flow Estimation