Add basic matrix class

Signed-off-by: Kiril Nesenko <knesenko@redhat.com>
Merge pull request #2 from knesenko/master

Add basic matrix class