Added generic RK4 function
New parameters set.