Sub SetMatrixValue(mA, r, c, v)
Sets the value of a cell in a matrix