MODIFIED: Integrators don't remember states now (only DP integrator does
for optimization purposes)
MERGED: Latest engine changes
MODIFIED: Tests modified to use the latest API