Implemented SLAE method for algebraic type