fixed the rk result, printf was giving y_i+1 for y_i