catch precision error with too big chis
Merge branch 'api' into directfortran
git_chi returns double, because 10**38 is too small
cleanup of sample_drc
Merge branch 'api' into directfortran