Inverse Rational Control with Partially Observable Continuous Nonlinear Dynamics