removed some unnecessary solve_linear methods