moving permmat code to permlist
more moving permmat code to permlist
remove PermMat tests