implemented sendMat by sending object
Merge pull request #9 from Handix/dev

implemented sendMat by sending object