function err = KBr1000s(x)
%

F(1) = -0.99912+(1-x(158))+x(454)+x(152)-(1-x(158))*x(454)-(1-x(158))*x(152)-x(454)*x(152)+(1-x(158))*x(454)*x(152);
F(2) = -1+(1-x(785))+(1-x(413))+(1-x(200))-(1-x(785))*(1-x(413))-(1-x(785))*(1-x(200))-(1-x(413))*(1-x(200))+(1-x(785))*(1-x(413))*(1-x(200));
F(3) = -0.0031508+x(338)+x(611)+x(29)-x(338)*x(611)-x(338)*x(29)-x(611)*x(29)+x(338)*x(611)*x(29);
F(4) = -0.0023496+x(237)+x(270)+x(558)-x(237)*x(270)-x(237)*x(558)-x(270)*x(558)+x(237)*x(270)*x(558);
F(5) = -1+(1-x(859))+(1-x(431))+x(282)-(1-x(859))*(1-x(431))-(1-x(859))*x(282)-(1-x(431))*x(282)+(1-x(859))*(1-x(431))*x(282);
F(6) = -0.99801+(1-x(183))+x(517)+x(145)-(1-x(183))*x(517)-(1-x(183))*x(145)-x(517)*x(145)+(1-x(183))*x(517)*x(145);
F(7) = -1+(1-x(236))+(1-x(896))+x(885)-(1-x(236))*(1-x(896))-(1-x(236))*x(885)-(1-x(896))*x(885)+(1-x(236))*(1-x(896))*x(885);
F(8) = -0.99988+x(163)+(1-x(299))+x(824)-x(163)*(1-x(299))-x(163)*x(824)-(1-x(299))*x(824)+x(163)*(1-x(299))*x(824);
F(9) = -1+(1-x(278))+(1-x(24))+(1-x(786))-(1-x(278))*(1-x(24))-(1-x(278))*(1-x(786))-(1-x(24))*(1-x(786))+(1-x(278))*(1-x(24))*(1-x(786));
F(10) = -1+(1-x(481))+(1-x(58))+(1-x(923))-(1-x(481))*(1-x(58))-(1-x(481))*(1-x(923))-(1-x(58))*(1-x(923))+(1-x(481))*(1-x(58))*(1-x(923));
F(11) = -1+(1-x(276))+(1-x(425))+x(70)-(1-x(276))*(1-x(425))-(1-x(276))*x(70)-(1-x(425))*x(70)+(1-x(276))*(1-x(425))*x(70);
F(12) = -1+(1-x(149))+x(443)+(1-x(584))-(1-x(149))*x(443)-(1-x(149))*(1-x(584))-x(443)*(1-x(584))+(1-x(149))*x(443)*(1-x(584));
F(13) = -0.002227+x(365)+x(993)+x(451)-x(365)*x(993)-x(365)*x(451)-x(993)*x(451)+x(365)*x(993)*x(451);
F(14) = -1+x(574)+(1-x(49))+(1-x(974))-x(574)*(1-x(49))-x(574)*(1-x(974))-(1-x(49))*(1-x(974))+x(574)*(1-x(49))*(1-x(974));
F(15) = -1+(1-x(508))+(1-x(641))+(1-x(774))-(1-x(508))*(1-x(641))-(1-x(508))*(1-x(774))-(1-x(641))*(1-x(774))+(1-x(508))*(1-x(641))*(1-x(774));
F(16) = -0.0045913+x(34)+x(707)+x(498)-x(34)*x(707)-x(34)*x(498)-x(707)*x(498)+x(34)*x(707)*x(498);
F(17) = -0.99869+x(381)+(1-x(382))+x(203)-x(381)*(1-x(382))-x(381)*x(203)-(1-x(382))*x(203)+x(381)*(1-x(382))*x(203);
F(18) = -1+(1-x(406))+(1-x(481))+(1-x(183))-(1-x(406))*(1-x(481))-(1-x(406))*(1-x(183))-(1-x(481))*(1-x(183))+(1-x(406))*(1-x(481))*(1-x(183));
F(19) = -0.99926+x(688)+(1-x(304))+x(822)-x(688)*(1-x(304))-x(688)*x(822)-(1-x(304))*x(822)+x(688)*(1-x(304))*x(822);
F(20) = -1+(1-x(329))+(1-x(547))+x(539)-(1-x(329))*(1-x(547))-(1-x(329))*x(539)-(1-x(547))*x(539)+(1-x(329))*(1-x(547))*x(539);
F(21) = -0.99821+(1-x(231))+x(645)+x(941)-(1-x(231))*x(645)-(1-x(231))*x(941)-x(645)*x(941)+(1-x(231))*x(645)*x(941);
F(22) = -0.0031682+x(568)+x(233)+x(869)-x(568)*x(233)-x(568)*x(869)-x(233)*x(869)+x(568)*x(233)*x(869);
F(23) = -0.99948+x(362)+x(395)+(1-x(82))-x(362)*x(395)-x(362)*(1-x(82))-x(395)*(1-x(82))+x(362)*x(395)*(1-x(82));
F(24) = -0.99936+x(431)+(1-x(380))+x(310)-x(431)*(1-x(380))-x(431)*x(310)-(1-x(380))*x(310)+x(431)*(1-x(380))*x(310);
F(25) = -1+(1-x(960))+(1-x(388))+x(988)-(1-x(960))*(1-x(388))-(1-x(960))*x(988)-(1-x(388))*x(988)+(1-x(960))*(1-x(388))*x(988);
F(26) = -0.0030567+x(212)+x(902)+x(34)-x(212)*x(902)-x(212)*x(34)-x(902)*x(34)+x(212)*x(902)*x(34);
F(27) = -0.99974+x(836)+x(4)+(1-x(95))-x(836)*x(4)-x(836)*(1-x(95))-x(4)*(1-x(95))+x(836)*x(4)*(1-x(95));
F(28) = -1+(1-x(452))+(1-x(593))+(1-x(305))-(1-x(452))*(1-x(593))-(1-x(452))*(1-x(305))-(1-x(593))*(1-x(305))+(1-x(452))*(1-x(593))*(1-x(305));
F(29) = -0.99912+x(702)+x(347)+(1-x(158))-x(702)*x(347)-x(702)*(1-x(158))-x(347)*(1-x(158))+x(702)*x(347)*(1-x(158));
F(30) = -0.99809+(1-x(220))+x(780)+x(671)-(1-x(220))*x(780)-(1-x(220))*x(671)-x(780)*x(671)+(1-x(220))*x(780)*x(671);
F(31) = -1+x(255)+(1-x(413))+(1-x(196))-x(255)*(1-x(413))-x(255)*(1-x(196))-(1-x(413))*(1-x(196))+x(255)*(1-x(413))*(1-x(196));
F(32) = -0.99822+x(725)+(1-x(482))+x(961)-x(725)*(1-x(482))-x(725)*x(961)-(1-x(482))*x(961)+x(725)*(1-x(482))*x(961);
F(33) = -1+(1-x(682))+(1-x(100))+x(859)-(1-x(682))*(1-x(100))-(1-x(682))*x(859)-(1-x(100))*x(859)+(1-x(682))*(1-x(100))*x(859);
F(34) = -1+(1-x(471))+(1-x(661))+x(243)-(1-x(471))*(1-x(661))-(1-x(471))*x(243)-(1-x(661))*x(243)+(1-x(471))*(1-x(661))*x(243);
F(35) = -1+(1-x(722))+(1-x(258))+(1-x(343))-(1-x(722))*(1-x(258))-(1-x(722))*(1-x(343))-(1-x(258))*(1-x(343))+(1-x(722))*(1-x(258))*(1-x(343));
F(36) = -1+(1-x(61))+(1-x(640))+(1-x(776))-(1-x(61))*(1-x(640))-(1-x(61))*(1-x(776))-(1-x(640))*(1-x(776))+(1-x(61))*(1-x(640))*(1-x(776));
F(37) = -0.99804+x(619)+x(242)+(1-x(104))-x(619)*x(242)-x(619)*(1-x(104))-x(242)*(1-x(104))+x(619)*x(242)*(1-x(104));
F(38) = -0.99994+(1-x(420))+x(193)+x(626)-(1-x(420))*x(193)-(1-x(420))*x(626)-x(193)*x(626)+(1-x(420))*x(193)*x(626);
F(39) = -1+x(166)+(1-x(432))+(1-x(755))-x(166)*(1-x(432))-x(166)*(1-x(755))-(1-x(432))*(1-x(755))+x(166)*(1-x(432))*(1-x(755));
F(40) = -1+(1-x(518))+(1-x(564))+x(453)-(1-x(518))*(1-x(564))-(1-x(518))*x(453)-(1-x(564))*x(453)+(1-x(518))*(1-x(564))*x(453);
F(41) = -1+x(710)+(1-x(677))+(1-x(928))-x(710)*(1-x(677))-x(710)*(1-x(928))-(1-x(677))*(1-x(928))+x(710)*(1-x(677))*(1-x(928));
F(42) = -0.99855+x(235)+(1-x(633))+x(404)-x(235)*(1-x(633))-x(235)*x(404)-(1-x(633))*x(404)+x(235)*(1-x(633))*x(404);
F(43) = -1+(1-x(440))+(1-x(271))+(1-x(990))-(1-x(440))*(1-x(271))-(1-x(440))*(1-x(990))-(1-x(271))*(1-x(990))+(1-x(440))*(1-x(271))*(1-x(990));
F(44) = -0.003687+x(470)+x(508)+x(447)-x(470)*x(508)-x(470)*x(447)-x(508)*x(447)+x(470)*x(508)*x(447);
F(45) = -1+(1-x(30))+(1-x(82))+(1-x(551))-(1-x(30))*(1-x(82))-(1-x(30))*(1-x(551))-(1-x(82))*(1-x(551))+(1-x(30))*(1-x(82))*(1-x(551));
F(46) = -1+(1-x(315))+(1-x(152))+x(148)-(1-x(315))*(1-x(152))-(1-x(315))*x(148)-(1-x(152))*x(148)+(1-x(315))*(1-x(152))*x(148);
F(47) = -0.99904+x(259)+x(577)+(1-x(283))-x(259)*x(577)-x(259)*(1-x(283))-x(577)*(1-x(283))+x(259)*x(577)*(1-x(283));
F(48) = -0.99919+x(849)+(1-x(953))+x(794)-x(849)*(1-x(953))-x(849)*x(794)-(1-x(953))*x(794)+x(849)*(1-x(953))*x(794);
F(49) = -0.99937+x(81)+x(357)+(1-x(747))-x(81)*x(357)-x(81)*(1-x(747))-x(357)*(1-x(747))+x(81)*x(357)*(1-x(747));
F(50) = -1+(1-x(167))+x(627)+(1-x(487))-(1-x(167))*x(627)-(1-x(167))*(1-x(487))-x(627)*(1-x(487))+(1-x(167))*x(627)*(1-x(487));
err = norm(F);
