Simplex Solver

Modify simplex solver