fixed transpose mode in opDiag