nanshe/expanded_numpy.py: Added the function index_array_to_bool_array, which converts an index array to a bool array.
WIP fix 3.