Completed a temporary foundation for a general RK4 solver. Not tested.