CCRE class is now "more logical" from a programing point of view.
Created a fucntion to create the bin-edges for the reference function.
"condensed" the calc function (removed redundancies)
Now first the edges are calculated based on the two paramters: EqualSizeBinFlag and UseHistProxy.
Once edges for bins are known (calculated) creating the cdf is the same for all cases.