A method for estimating variables affecting the vehicle dynamics and corresponding virtual sensor