Create meanofmatrix.py