Added the ability to initialize a matrix using an eigen matrix type.
Merging conflicts.
Added a realize function to the matrix class, which works for constant sized matrices, and produces a realization of the matrix into a buffer with the same number of rows and columns as the matrix.