Fixed all occurances of the type for 'maxtrix'.