state space rediction