Make bin width a class member
Fix bug where integral from functions was not correctly calculated

The integral returned by the TF1 class needs to be normalized to
the bin width of the histogram for integral comparisons to make
any sense. This is done by dividing the function integral by the bin
width