Changed type definition for tMatr