Fixed lots and lots of bugs. Implemented the adaptive time step and order selection algorithm.