Added partial multiplication between some groups of the matrix and themselves