fixed make matrices a bit
Merge pull request #147 from r3dunlop/master

fixed make matrices a bit