function F = KBin(x)
%

F(1) = -1+x(1);
F(2) = -1+(1-x(1))+x(3)-(1-x(1))*x(3);
F(3) = -1+x(2);
F(4) = -1+(1-x(2))+(1-x(3))-(1-x(2))*(1-x(3));
