Update get_neighbor_throats to return an ndarray rather than a list when flatten if False