Added inefficient (by memory) transposition