Add first_minor method for Matrix class
Add cofactor method for Matrix class