Make getBinPosition() similar to other code

The Real1dBinMapper code was refacotred previously. Make sure those changes
are pulled into this class.
Add n-dimensional composite BinMappers