changed hists class to allow for varying cr index
made some functions private
made delta_cr work
removed unused line
Merge branch 'delta_cr' into develop
delta cr