Optimal Input Design for the Estimation of Parameters