Code for dealing with functions, permutations, logic, matrices and matrix reps of subspaces in Maxima