onBasis gets the matrix equivalent of the Transformation