Implemented RK4.

Haven't tested RK4 yet. Currently writing the various functions that RK4
uses.