Adding a few functions to gmatrix.
Merge pull request #5 from bbarker/master

a few gmatrix additions.