From Garry's Mod
Inverts the matrix.
Inverting the matrix will fail if its determinant is 0 or close to 0. (ie. its "scale" in any direction is 0.)
If the matrix cannot be inverted, it does not get modified.
Whether the matrix was inverted or not