Matrix factory routines are no longer type-aware, added a routine to point to graph structure rather than copy it
Added a parameter for the number of graph types available, makes testing easier
Added a test for matrix sum, which works although could be more thorough