added matrixHomRep