Added inverseTranspose()
Fixed encoding bug and added basic transpose test
Added doubleTranspose & doubleInverse functions, along with an additional test