Changed findInverse() to inverse(); wrote transpose() method