Ref: Changed bin to use searchsorted

Q now includes temp as the final dimension and is sorted at creation time. Bin uses np.searchsorted, a binary search algorithm, which is significantly faster than np.where for large arrays.
Ref: Updated unittests to conform to the new Q format

Q now includes temp as the final dimension, so it does not need to be checked separately.
Merge branch 'feature/bin-rewrite' into develop