rayleigh_fit now returns the proper parameters expected by the next routines, like Ref_Bin(). Figures are drawn correctly and important data is saved. Final BG is removed from signal and Pr2 is recalculated.