The fourth-order Runge–Kutta method, with tolerance set at 0.001, was used to perform curve fitting.