Created MtrxType class.