Add derivatives of static model w.r.t. parameters
Currently, the derivatives of the static model w.r.t. parameters are computed using the derivatives of the dynamic model w.r.t. parameters.
It would be more convenient to provide directly these derivatives.