add argument temp to x$setInverseMatrix()