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

% NIST certified values
target = zeros(dim,1);
target(1) = 9.9018328406E+01;
target(2) = 1.0994945399E-02;
target(3) = 1.0188022528E+02;
target(4) = 1.0703095519E+02;
target(5) = 2.3578584029E+01;
target(6) = 7.2045589471E+01;
target(7) = 1.5327010194E+02;
target(8) = 1.9525972636E+01;

% start 1
ig1 = [96;0.009;103;106;18;72;151;18]
% start 2
ig2 = [98;0.0105;103;105;20;73;150;20]

% 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.60966
x(11)=11;	y(11)=86.56187
x(12)=12;	y(12)=85.55316
x(13)=13;	y(13)=87.13054
x(14)=14;	y(14)=85.6794
x(15)=15;	y(15)=80.04851
x(16)=16;	y(16)=82.18925
x(17)=17;	y(17)=87.24081
x(18)=18;	y(18)=80.79407
x(19)=19;	y(19)=81.2857
x(20)=20;	y(20)=81.5694
x(21)=21;	y(21)=79.22715
x(22)=22;	y(22)=79.43275
x(23)=23;	y(23)=77.90195
x(24)=24;	y(24)=76.75468
x(25)=25;	y(25)=77.17377
x(26)=26;	y(26)=74.27348
x(27)=27;	y(27)=73.119
x(28)=28;	y(28)=73.84826
x(29)=29;	y(29)=72.4787
x(30)=30;	y(30)=71.92292
x(31)=31;	y(31)=66.92176
x(32)=32;	y(32)=67.93835
x(33)=33;	y(33)=69.56207
x(34)=34;	y(34)=69.07066
x(35)=35;	y(35)=66.53983
x(36)=36;	y(36)=63.87883
x(37)=37;	y(37)=69.71537
x(38)=38;	y(38)=63.60588
x(39)=39;	y(39)=63.37154
x(40)=40;	y(40)=60.01835
x(41)=41;	y(41)=62.67481
x(42)=42;	y(42)=65.80666
x(43)=43;	y(43)=59.14304
x(44)=44;	y(44)=56.62951
x(45)=45;	y(45)=61.21785
x(46)=46;	y(46)=54.3879
x(47)=47;	y(47)=62.93443
x(48)=48;	y(48)=56.65144
x(49)=49;	y(49)=57.13362
x(50)=50;	y(50)=58.29689
x(51)=51;	y(51)=58.91744
x(52)=52;	y(52)=58.50172
x(53)=53;	y(53)=55.22885
x(54)=54;	y(54)=58.30375
x(55)=55;	y(55)=57.43237
x(56)=56;	y(56)=51.69407
x(57)=57;	y(57)=49.93132
x(58)=58;	y(58)=53.7076
x(59)=59;	y(59)=55.39712
x(60)=60;	y(60)=52.89709
x(61)=61;	y(61)=52.31649
x(62)=62;	y(62)=53.9872
x(63)=63;	y(63)=53.54158
x(64)=64;	y(64)=56.45046
x(65)=65;	y(65)=51.32276
x(66)=66;	y(66)=53.11676
x(67)=67;	y(67)=53.28631
x(68)=68;	y(68)=49.80555
x(69)=69;	y(69)=54.69564
x(70)=70;	y(70)=56.41627
x(71)=71;	y(71)=54.59362
x(72)=72;	y(72)=54.3852
x(73)=73;	y(73)=60.15354
x(74)=74;	y(74)=59.78773
x(75)=75;	y(75)=60.49995
x(76)=76;	y(76)=65.43885
x(77)=77;	y(77)=60.70001
x(78)=78;	y(78)=63.71865
x(79)=79;	y(79)=67.77139
x(80)=80;	y(80)=64.70934
x(81)=81;	y(81)=70.78193
x(82)=82;	y(82)=70.38651
x(83)=83;	y(83)=77.22359
x(84)=84;	y(84)=79.52665
x(85)=85;	y(85)=80.13077
x(86)=86;	y(86)=85.67823
x(87)=87;	y(87)=85.20647
x(88)=88;	y(88)=90.24548
x(89)=89;	y(89)=93.61953
x(90)=90;	y(90)=95.86509
x(91)=91;	y(91)=93.46992
x(92)=92;	y(92)=105.8137
x(93)=93;	y(93)=107.8269
x(94)=94;	y(94)=114.0607
x(95)=95;	y(95)=115.5019
x(96)=96;	y(96)=118.511
x(97)=97;	y(97)=119.6177
x(98)=98;	y(98)=122.194
x(99)=99;	y(99)=126.9903
x(100)=100;	y(100)=125.7005
x(101)=101;	y(101)=123.7447
x(102)=102;	y(102)=130.6543
x(103)=103;	y(103)=129.7168
x(104)=104;	y(104)=131.824
x(105)=105;	y(105)=131.8759
x(106)=106;	y(106)=131.9994
x(107)=107;	y(107)=132.1221
x(108)=108;	y(108)=133.4414
x(109)=109;	y(109)=133.8252
x(110)=110;	y(110)=133.6695
x(111)=111;	y(111)=128.2851
x(112)=112;	y(112)=126.5182
x(113)=113;	y(113)=124.755
x(114)=114;	y(114)=118.4016
x(115)=115;	y(115)=122.0334
x(116)=116;	y(116)=115.2059
x(117)=117;	y(117)=118.7856
x(118)=118;	y(118)=110.7387
x(119)=119;	y(119)=110.2003
x(120)=120;	y(120)=105.1729
x(121)=121;	y(121)=103.4472
x(122)=122;	y(122)=94.5428
x(123)=123;	y(123)=94.40526
x(124)=124;	y(124)=94.57964
x(125)=125;	y(125)=88.76605
x(126)=126;	y(126)=87.28747
x(127)=127;	y(127)=92.50443
x(128)=128;	y(128)=86.27997
x(129)=129;	y(129)=82.44307
x(130)=130;	y(130)=80.47367
x(131)=131;	y(131)=78.36608
x(132)=132;	y(132)=78.74307
x(133)=133;	y(133)=76.12786
x(134)=134;	y(134)=79.13108
x(135)=135;	y(135)=76.76062
x(136)=136;	y(136)=77.60769
x(137)=137;	y(137)=77.76633
x(138)=138;	y(138)=81.2822
x(139)=139;	y(139)=79.74307
x(140)=140;	y(140)=81.97964
x(141)=141;	y(141)=80.02952
x(142)=142;	y(142)=85.95232
x(143)=143;	y(143)=85.96838
x(144)=144;	y(144)=79.94789
x(145)=145;	y(145)=87.17023
x(146)=146;	y(146)=90.50992
x(147)=147;	y(147)=93.23373
x(148)=148;	y(148)=89.14803
x(149)=149;	y(149)=93.11492
x(150)=150;	y(150)=90.34337
x(151)=151;	y(151)=93.69421
x(152)=152;	y(152)=95.74256
x(153)=153;	y(153)=91.85105
x(154)=154;	y(154)=96.74503
x(155)=155;	y(155)=87.60996
x(156)=156;	y(156)=90.47012
x(157)=157;	y(157)=88.1169
x(158)=158;	y(158)=85.70673
x(159)=159;	y(159)=85.01361
x(160)=160;	y(160)=78.5304
x(161)=161;	y(161)=81.34148
x(162)=162;	y(162)=75.19295
x(163)=163;	y(163)=72.66115
x(164)=164;	y(164)=69.85504
x(165)=165;	y(165)=66.29476
x(166)=166;	y(166)=63.58502
x(167)=167;	y(167)=58.33847
x(168)=168;	y(168)=57.50766
x(169)=169;	y(169)=52.80498
x(170)=170;	y(170)=50.79319
x(171)=171;	y(171)=47.0349
x(172)=172;	y(172)=46.4709
x(173)=173;	y(173)=43.09016
x(174)=174;	y(174)=34.11531
x(175)=175;	y(175)=39.28235
x(176)=176;	y(176)=32.68386
x(177)=177;	y(177)=30.44056
x(178)=178;	y(178)=31.98932
x(179)=179;	y(179)=23.6333
x(180)=180;	y(180)=23.69643
x(181)=181;	y(181)=20.26812
x(182)=182;	y(182)=19.07074
x(183)=183;	y(183)=17.59544
x(184)=184;	y(184)=16.08785
x(185)=185;	y(185)=18.94267
x(186)=186;	y(186)=18.61354
x(187)=187;	y(187)=17.258
x(188)=188;	y(188)=16.62285
x(189)=189;	y(189)=13.48367
x(190)=190;	y(190)=15.37647
x(191)=191;	y(191)=13.47208
x(192)=192;	y(192)=15.96188
x(193)=193;	y(193)=12.32547
x(194)=194;	y(194)=16.3388
x(195)=195;	y(195)=10.43833
x(196)=196;	y(196)=9.628715
x(197)=197;	y(197)=13.12268
x(198)=198;	y(198)=8.772417
x(199)=199;	y(199)=11.76143
x(200)=200;	y(200)=12.5502
x(201)=201;	y(201)=11.33108
x(202)=202;	y(202)=11.20493
x(203)=203;	y(203)=7.816916
x(204)=204;	y(204)=6.800675
x(205)=205;	y(205)=14.26581
x(206)=206;	y(206)=10.66285
x(207)=207;	y(207)=8.911574
x(208)=208;	y(208)=11.56733
x(209)=209;	y(209)=11.58207
x(210)=210;	y(210)=11.59071
x(211)=211;	y(211)=9.730134
x(212)=212;	y(212)=11.44237
x(213)=213;	y(213)=11.22912
x(214)=214;	y(214)=10.17213
x(215)=215;	y(215)=12.50905
x(216)=216;	y(216)=6.201493
x(217)=217;	y(217)=9.019605
x(218)=218;	y(218)=10.80607
x(219)=219;	y(219)=13.09625
x(220)=220;	y(220)=3.914271
x(221)=221;	y(221)=9.567886
x(222)=222;	y(222)=8.038448
x(223)=223;	y(223)=10.23104
x(224)=224;	y(224)=9.36741
x(225)=225;	y(225)=7.695971
x(226)=226;	y(226)=6.118575
x(227)=227;	y(227)=8.793207
x(228)=228;	y(228)=7.796692
x(229)=229;	y(229)=12.45065
x(230)=230;	y(230)=10.61601
x(231)=231;	y(231)=6.001003
x(232)=232;	y(232)=6.765098
x(233)=233;	y(233)=8.764653
x(234)=234;	y(234)=4.586418
x(235)=235;	y(235)=8.390783
x(236)=236;	y(236)=7.209202
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
