BUG: count number of matrices we want to return in permute_rows
BUG: count number of matrices we want to return in permute_rows

statlab/permuter,statlab/permuter,kellieotto/permuter,kellieotto/permuter