Create matrixhelper.py

First release.