modified integrator functions
Merge branch 'master' of https://github.com/AndySomogyi/dms