take full history to sample
simple chi getter
Merge branch 'api' into directfortran
fixed drect call parameters of do_drc_steps
Merge branch 'api' into directfortran
convergence testings