make rows and cols public
added function to return Quaternion as Matrix
added function to return Transformation as Matrix