added utility to rebin a 1D array and deal with end effects if the old array is not an integer multiple of the new one.
Merge branch 'master' of github.com:aringlis/solar_physics_utils