added initial version of matgen matrix generator
added optional seed parameter for random number generator