added get_index_above_N to gctx_methods.py