Split Matrix module to two Matrix module for 3x3 matrix and 4x4 matrix.