Fixed Simplex method error

This build is currently not testing.