Update meanofmatrix.py