Tiny fixes and adding transpose()