added rebinning package for 1d rebinning with partial overlap
removed some imports to relax dependencies