% Gauss3
% http://www.itl.nist.gov/div898/strd/nls/data/LINKS/DATA/Gauss3.dat
dim = 8 % dimension of the minimization problem
nb = 250 % number of points

% NIST certified values
target = zeros(dim,1);
target(1) = 9.8940368970E+01;
target(2) = 1.0945879335E-02;
target(3) = 1.0069553078E+02;
target(4) = 1.1163619459E+02;
target(5) = 2.3300500029E+01;
target(6) = 7.3705031418E+01;
target(7) = 1.4776164251E+02;
target(8) = 1.9668221230E+01;

% start 1
ig1 = [94.9;0.009;90.1;113;20;73;140;20]
% start 2
ig2 = [96;0.0096;80;110;25;74;139;25]

% points to fit
x = zeros(nb,1)
y = zeros(nb,1)
x(1)=1;	y(1)=97.58776
x(2)=2;	y(2)=97.76344
x(3)=3;	y(3)=96.56705
x(4)=4;	y(4)=92.52037
x(5)=5;	y(5)=91.15097
x(6)=6;	y(6)=95.21728
x(7)=7;	y(7)=90.21355
x(8)=8;	y(8)=89.29235
x(9)=9;	y(9)=91.51479
x(10)=10;	y(10)=89.60965
x(11)=11;	y(11)=86.56187
x(12)=12;	y(12)=85.55315
x(13)=13;	y(13)=87.13053
x(14)=14;	y(14)=85.67938
x(15)=15;	y(15)=80.04849
x(16)=16;	y(16)=82.18922
x(17)=17;	y(17)=87.24078
x(18)=18;	y(18)=80.79401
x(19)=19;	y(19)=81.28564
x(20)=20;	y(20)=81.56932
x(21)=21;	y(21)=79.22703
x(22)=22;	y(22)=79.43259
x(23)=23;	y(23)=77.90174
x(24)=24;	y(24)=76.75438
x(25)=25;	y(25)=77.17338
x(26)=26;	y(26)=74.27296
x(27)=27;	y(27)=73.1183
x(28)=28;	y(28)=73.84732
x(29)=29;	y(29)=72.47746
x(30)=30;	y(30)=71.92128
x(31)=31;	y(31)=66.91962
x(32)=32;	y(32)=67.93554
x(33)=33;	y(33)=69.55841
x(34)=34;	y(34)=69.06592
x(35)=35;	y(35)=66.53371
x(36)=36;	y(36)=63.87094
x(37)=37;	y(37)=69.70526
x(38)=38;	y(38)=63.59295
x(39)=39;	y(39)=63.35509
x(40)=40;	y(40)=59.99747
x(41)=41;	y(41)=62.64843
x(42)=42;	y(42)=65.77345
x(43)=43;	y(43)=59.10141
x(44)=44;	y(44)=56.5775
x(45)=45;	y(45)=61.15313
x(46)=46;	y(46)=54.30767
x(47)=47;	y(47)=62.83535
x(48)=48;	y(48)=56.52957
x(49)=49;	y(49)=56.98427
x(50)=50;	y(50)=58.11459
x(51)=51;	y(51)=58.69576
x(52)=52;	y(52)=58.23322
x(53)=53;	y(53)=54.9049
x(54)=54;	y(54)=57.91442
x(55)=55;	y(55)=56.96629
x(56)=56;	y(56)=51.13831
x(57)=57;	y(57)=49.27123
x(58)=58;	y(58)=52.92668
x(59)=59;	y(59)=54.47693
x(60)=60;	y(60)=51.8171
x(61)=61;	y(61)=51.05401
x(62)=62;	y(62)=52.51731
x(63)=63;	y(63)=51.8371
x(64)=64;	y(64)=54.48196
x(65)=65;	y(65)=49.05859
x(66)=66;	y(66)=50.52315
x(67)=67;	y(67)=50.32755
x(68)=68;	y(68)=46.44419
x(69)=69;	y(69)=50.89281
x(70)=70;	y(70)=52.13203
x(71)=71;	y(71)=49.78741
x(72)=72;	y(72)=49.01637
x(73)=73;	y(73)=54.18198
x(74)=74;	y(74)=53.17456
x(75)=75;	y(75)=53.20827
x(76)=76;	y(76)=57.43459
x(77)=77;	y(77)=51.95282
x(78)=78;	y(78)=54.20282
x(79)=79;	y(79)=57.46687
x(80)=80;	y(80)=53.60268
x(81)=81;	y(81)=58.86728
x(82)=82;	y(82)=57.66652
x(83)=83;	y(83)=63.71034
x(84)=84;	y(84)=65.24244
x(85)=85;	y(85)=65.10878
x(86)=86;	y(86)=69.96313
x(87)=87;	y(87)=68.85475
x(88)=88;	y(88)=73.32574
x(89)=89;	y(89)=76.21241
x(90)=90;	y(90)=78.06311
x(91)=91;	y(91)=75.37701
x(92)=92;	y(92)=87.54449
x(93)=93;	y(93)=89.50588
x(94)=94;	y(94)=95.82098
x(95)=95;	y(95)=97.4839
x(96)=96;	y(96)=100.8607
x(97)=97;	y(97)=102.4851
x(98)=98;	y(98)=105.7311
x(99)=99;	y(99)=111.3489
x(100)=100;	y(100)=111.0305
x(101)=101;	y(101)=110.192
x(102)=102;	y(102)=118.3581
x(103)=103;	y(103)=118.8086
x(104)=104;	y(104)=122.4249
x(105)=105;	y(105)=124.0953
x(106)=106;	y(106)=125.9337
x(107)=107;	y(107)=127.8533
x(108)=108;	y(108)=131.0361
x(109)=109;	y(109)=133.3343
x(110)=110;	y(110)=135.1278
x(111)=111;	y(111)=131.7113
x(112)=112;	y(112)=131.9151
x(113)=113;	y(113)=132.1107
x(114)=114;	y(114)=127.6898
x(115)=115;	y(115)=133.2148
x(116)=116;	y(116)=128.2296
x(117)=117;	y(117)=133.5902
x(118)=118;	y(118)=127.2539
x(119)=119;	y(119)=128.3482
x(120)=120;	y(120)=124.8694
x(121)=121;	y(121)=124.6031
x(122)=122;	y(122)=117.0648
x(123)=123;	y(123)=118.1966
x(124)=124;	y(124)=119.5408
x(125)=125;	y(125)=114.7946
x(126)=126;	y(126)=114.278
x(127)=127;	y(127)=120.3484
x(128)=128;	y(128)=114.8647
x(129)=129;	y(129)=111.6514
x(130)=130;	y(130)=110.1826
x(131)=131;	y(131)=108.4461
x(132)=132;	y(132)=109.0571
x(133)=133;	y(133)=106.5308
x(134)=134;	y(134)=109.4691
x(135)=135;	y(135)=106.8709
x(136)=136;	y(136)=107.3192
x(137)=137;	y(137)=106.9
x(138)=138;	y(138)=109.6526
x(139)=139;	y(139)=107.1602
x(140)=140;	y(140)=108.2509
x(141)=141;	y(141)=104.9631
x(142)=142;	y(142)=109.3601
x(143)=143;	y(143)=107.6696
x(144)=144;	y(144)=99.77286
x(145)=145;	y(145)=104.9644
x(146)=146;	y(146)=106.1376
x(147)=147;	y(147)=106.5816
x(148)=148;	y(148)=100.1286
x(149)=149;	y(149)=101.6691
x(150)=150;	y(150)=96.44254
x(151)=151;	y(151)=97.34169
x(152)=152;	y(152)=96.97412
x(153)=153;	y(153)=90.7346
x(154)=154;	y(154)=93.37949
x(155)=155;	y(155)=82.12331
x(156)=156;	y(156)=83.01657
x(157)=157;	y(157)=78.8736
x(158)=158;	y(158)=74.86971
x(159)=159;	y(159)=72.79341
x(160)=160;	y(160)=65.14744
x(161)=161;	y(161)=67.02127
x(162)=162;	y(162)=60.16136
x(163)=163;	y(163)=57.13996
x(164)=164;	y(164)=54.05769
x(165)=165;	y(165)=50.42265
x(166)=166;	y(166)=47.8243
x(167)=167;	y(167)=42.85748
x(168)=168;	y(168)=42.45495
x(169)=169;	y(169)=38.30808
x(170)=170;	y(170)=36.95794
x(171)=171;	y(171)=33.94543
x(172)=172;	y(172)=34.19017
x(173)=173;	y(173)=31.66097
x(174)=174;	y(174)=23.56172
x(175)=175;	y(175)=29.61143
x(176)=176;	y(176)=23.88765
x(177)=177;	y(177)=22.49812
x(178)=178;	y(178)=24.86901
x(179)=179;	y(179)=17.29481
x(180)=180;	y(180)=18.09291
x(181)=181;	y(181)=15.34813
x(182)=182;	y(182)=14.77997
x(183)=183;	y(183)=13.87832
x(184)=184;	y(184)=12.88891
x(185)=185;	y(185)=16.20763
x(186)=186;	y(186)=16.29024
x(187)=187;	y(187)=15.29712
x(188)=188;	y(188)=14.97839
x(189)=189;	y(189)=12.1133
x(190)=190;	y(190)=14.24168
x(191)=191;	y(191)=12.53824
x(192)=192;	y(192)=15.19818
x(193)=193;	y(193)=11.70478
x(194)=194;	y(194)=15.83745
x(195)=195;	y(195)=10.03585
x(196)=196;	y(196)=9.307574
x(197)=197;	y(197)=12.868
x(198)=198;	y(198)=8.571671
x(199)=199;	y(199)=11.60415
x(200)=200;	y(200)=12.42772
x(201)=201;	y(201)=11.23627
x(202)=202;	y(202)=11.13198
x(203)=203;	y(203)=7.761117
x(204)=204;	y(204)=6.75825
x(205)=205;	y(205)=14.23375
x(206)=206;	y(206)=10.63876
x(207)=207;	y(207)=8.893581
x(208)=208;	y(208)=11.55398
x(209)=209;	y(209)=11.57221
x(210)=210;	y(210)=11.58347
x(211)=211;	y(211)=9.724857
x(212)=212;	y(212)=11.43854
x(213)=213;	y(213)=11.22636
x(214)=214;	y(214)=10.17015
x(215)=215;	y(215)=12.50765
x(216)=216;	y(216)=6.200494
x(217)=217;	y(217)=9.018902
x(218)=218;	y(218)=10.80557
x(219)=219;	y(219)=13.09591
x(220)=220;	y(220)=3.914033
x(221)=221;	y(221)=9.567723
x(222)=222;	y(222)=8.038338
x(223)=223;	y(223)=10.23096
x(224)=224;	y(224)=9.367358
x(225)=225;	y(225)=7.695937
x(226)=226;	y(226)=6.118552
x(227)=227;	y(227)=8.793192
x(228)=228;	y(228)=7.796682
x(229)=229;	y(229)=12.45064
x(230)=230;	y(230)=10.61601
x(231)=231;	y(231)=6.001
x(232)=232;	y(232)=6.765096
x(233)=233;	y(233)=8.764652
x(234)=234;	y(234)=4.586417
x(235)=235;	y(235)=8.390782
x(236)=236;	y(236)=7.209201
x(237)=237;	y(237)=10.01209
x(238)=238;	y(238)=7.327461
x(239)=239;	y(239)=6.525136
x(240)=240;	y(240)=2.840065
x(241)=241;	y(241)=10.32371
x(242)=242;	y(242)=4.790035
x(243)=243;	y(243)=8.376431
x(244)=244;	y(244)=6.26398
x(245)=245;	y(245)=2.705892
x(246)=246;	y(246)=8.362109
x(247)=247;	y(247)=8.983507
x(248)=248;	y(248)=3.362469
x(249)=249;	y(249)=1.182678
x(250)=250;	y(250)=4.875312
