MatrixMultiplicationLogic