added gradients to the liml estimators with covariates