Fixed RK4 behavior and some initializations of statistics variables.