A new method for the estimation of parameters in differential equations