implement transpose and test scripts
Merge branch 'master' into dev/transpose
resolve #10