Linear systems of equations with elimination