modified Matrix_3x3