transpose/0 for possibly jagged matrices