In SumOfMatrice: Add function to construct lookup from nodes
In SumOfMatrices: generalise multiply to rectangular matrices