fixing MAXTRIX  to MATRIX