Functioning updates: faster binning index

The method of finding binning index is now modified to be
binary searching, instead of linear searching (or linear
"table look-up").