Trying to troubleshoot problems with findInverse function.