Algebra Equation Solving with Matrix