2d linear equations system solver (Cramer)