Dumb implementation of matrix transpose. Restrict operations only to matrices without factors due to mismatched domain issues.