Matrix
Assemble the matrix