Estimating unknown parameters in differential equations with a reinforcement learning based PSO method