code: public Matrix transpose()
      {
          Matrix toReturn = new DenseMatrix(cols(), rows());
          this.transpose(toReturn);
          return toReturn;
      }
docs: Returns a new matrix that is the transpose of this matrix.
  @return a new matrix <tt>A</tt>'