Update Integrator.h

So I tried this after tweaking the original file (the one Andre gave us) a little. It compiles and passes the tests. 

Read comments for more details.