starting work on gradient
RK4 Partially implemented, currently not running, for real this time.