Add basic linear solver using Gauss-Jordan method.