[x, maxval]=simplex1([0 2 3 4; 5 0 -2 -3; 4 -1 -1 -2; 7 -1 -2 -3])