gfd shap_filt diagnostics mypackage mnc autodiff cost ctrl grdchk