I need to inverse nxn matrices without using numpy so i have a program but in some matrices result is not true. I have a zerodivision error in some matrices. Where is my mis