Added get to permutation matrix, needs optimising, have to get on with something else now