An approximate method of state estimation for nonlinear dynamical systems