for/back solves and apply_permutation_vector now use rank 1 arrays