Thanks for your reply! So what would be the way to ecode a previous state like in Kalman Filters? Essentially what I want is a Kalman filter but with highly non-linear functions to model the transition and the emission matrices (in the linear Kalman Filter)