Moving the Matrix stuff into its own module
Some field accessors
Updated cabal file
Various fixes (some of which are ommenting stuff) to get things to compile.