removed unused functions
fixed fitting to ROI.
we have to fit to the whole picture
otherwise there is an error because the wings contribute
to the integral