added permuted qstate support
tinkering with permutation, still a bug in either the cycle or print functionality
WIP
permutation stage method bugfixing, test.mc case still broken
merge conflict on alt measure removal and qstate changes