Matrix determinant bug fixed.

SetInverse is meant to set the current matrix to the inverse of the
matrix that is passed as an argument. The problem was we were
calculating the determinant of the current matrix rather than the matrix
that was being passed as an argument.