UPDATED: ptrace now used sp_reshape instead of older code
FIXED: wigner fft tests were too strict.  change 1e-8 -> 1e-7
ADDED: qobj permute tests
FIXED: bug in permute