Added a new sort function which does not return a permutation class on return.
Added a inline method for applying permutations (encoded as its action), useful in blas-helpers.
Saving changes; this breaks a lot of things.
Made make-zeros-dims intialize classes without checking.
Merge branch 'tensor' from sourceforge.