Fixed rebin. This resolves #7909
Merge branch 'feature/7909_reflectometer_rebin' into develop