Added state_space_lambdify to simplify scipy ode integration.

This import should happen at the top of the file unless there are circular dependencies.