Does not add empty solution sets to the solution
Cleaned up row reduction code