A family of collocation based methods for parameter estimation in differential equations