Added support for the Matrix class in the MatrixFunctions set of utilities. Closes #2