Fix dependencies in Makefile.
Add dtmax.
Clean up time-stepping.