Solving linear algebra equations (variable on both sides, positive values only)