Adds documentation for higher dimensional bsearch