Actually I checked the formula and it’s not working. Looking at it now I don’t even understand how it should work. You only calculate x and y of the intersection point.
I think the actual formula involves calculating the denominators of row matrices from the initial vectors