I am implementing an extended Eucilid algorithm with matrix mod N. This is my code implementation: Now, I need to calculate the matrix inverse mod 36 with the following matrix: (This is the video link:) matrix inverse mod N However, my code can only get x = -11, y = -4, exactly it is a solution of equation 13x =