Merge pull request #454 from ndawe/master

[MRG] hist: new rebinned method for all rebinning cases and for all dimensions