rk4ip scalar solver updated