added support for matrices
Merge branch 'master' of github.com:gerdkortemeyer/loncapa