simplex linear programming in javascript