code: public function transpose()
      {
          $out = new self($this->size->cols, $this->size->rows);
  
          foreach ($this->arr as $row) {
              $out->addCol($row);
          }
  
          return $out;
      }
docs: Returns the transpose of the current matrix.
  
  @access public
  @return Matrix