Altered structure of matrix to hold coefficients in addition to the matrix values