Added a warning message to the setInverse method since it doesn't check for the correctness of the inverse.