Update matrixm.py