Index: sansview/doc/model_functions.html
===================================================================
--- sansview/doc/model_functions.html	(revision 51b638fa629ea0c6e3081188c60aad71f47cc682)
+++ sansview/doc/model_functions.html	(revision beaaa8bdc2360f2850839b84254e27b52b17e1fe)
@@ -795,5 +795,5 @@
 <a href="#Customized Models"><b>Customized
      Models</b></a>: <a href="#A+Bcos(2x)+Csin(2x)">A+Bcos(2x)+Csin(2x)</a>,
-     <a href="#sin(poly)/poly">sin(poly)/poly</a>.</li>
+     <a href="#sinpoly_poly">sin(poly)/poly</a>.</li>
  <li class=MsoNormal style='line-height:115%'>
 <a href="#Structure Factors"><b>Structure
@@ -912,5 +912,5 @@
 <p class=MsoNormal style='margin-left:.55in;text-indent:-.3in'><b><span
 style='font-size:14.0pt'>2.1.<span style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
-</span></span></b><b><span style='font-size:14.0pt'><a name="SphereModel">Sphere Model</span></b></p>
+</span></span></b><b><span style='font-size:14.0pt'><a name="SphereModel">Sphere Model</a></span></b></p>
 
 <p class=MsoNormal>&nbsp;</p>
@@ -1092,5 +1092,5 @@
 <p class=MsoNormal style='margin-left:.55in;text-indent:-.3in'><b><span
 style='font-size:14.0pt'>2.2.<span style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
-</span></span></b><b><span style='font-size:14.0pt'><a name="CoreShellModel">Core Shell (Sphere) Model</span></b></p>
+</span></span></b><b><span style='font-size:14.0pt'><a name="CoreShellModel">Core Shell (Sphere) Model</a></span></b></p>
 
 <p class=MsoNormal>&nbsp;</p>
@@ -1326,5 +1326,5 @@
 <p class=MsoNormal style='margin-left:.55in;text-indent:-.3in'><b><span
 style='font-size:14.0pt'>2.3.<span style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
-</span></span></b><b><span style='font-size:14.0pt'><a name="VesicleModel">VesicleModel</span></b></p>
+</span></span></b><b><span style='font-size:14.0pt'><a name="VesicleModel">VesicleModel</a></span></b></p>
 
 <p class=MsoNormal>&nbsp;</p>
@@ -1548,5 +1548,5 @@
 <p class=MsoNormal style='margin-left:.55in;text-indent:-.3in'><b><span
 style='font-size:14.0pt'>2.4.<span style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
-</span></span></b><b><span style='font-size:14.0pt'><a name="MultiShellModel">MultiShellModel</span></b></p>
+</span></span></b><b><span style='font-size:14.0pt'><a name="MultiShellModel">MultiShellModel</a></span></b></p>
 
 <p class=MsoNormal>&nbsp;</p>
@@ -1776,5 +1776,5 @@
 <p class=MsoNormal style='margin-left:.55in;text-indent:-.3in'><b><span
 style='font-size:14.0pt'>2.5.<span style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
-</span></span></b><b><span style='font-size:14.0pt'><a name="BinaryHSModel">BinaryHSModel</span></b></p>
+</span></span></b><b><span style='font-size:14.0pt'><a name="BinaryHSModel">BinaryHSModel</a></span></b></p>
 
 <p class=MsoNormal>&nbsp;</p>
@@ -2025,5 +2025,5 @@
 <p class=MsoNormal style='margin-left:.55in;text-indent:-.3in'><b><span
 style='font-size:14.0pt'>2.6.<span style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
-</span></span></b><b><span style='font-size:14.0pt'><a name="CylinderModel">Cylinder Model</span></b></p>
+</span></span></b><b><span style='font-size:14.0pt'><a name="CylinderModel">Cylinder Model</a></span></b></p>
 
 <p class=MsoNormal>&nbsp;</p>
@@ -2345,5 +2345,5 @@
 <p class=MsoNormal style='margin-left:.55in;text-indent:-.3in'><b><span
 style='font-size:14.0pt'>2.7.<span style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
-</span></span></b><b><span style='font-size:14.0pt'><a name="CoreShellCylinderModel">Core-Shell Cylinder Model</span></b></p>
+</span></span></b><b><span style='font-size:14.0pt'><a name="CoreShellCylinderModel">Core-Shell Cylinder Model</a></span></b></p>
 
 <p class=MsoNormal>&nbsp;</p>
@@ -2901,5 +2901,5 @@
 <p class=MsoNormal style='margin-left:.55in;text-indent:-.3in'><b><span
 style='font-size:14.0pt'>2.9.<span style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
-</span></span></b><b><span style='font-size:14.0pt'><a name="FlexibleCylinderModel">FlexibleCylinderModel</span></b></p>
+</span></span></b><b><span style='font-size:14.0pt'><a name="FlexibleCylinderModel">FlexibleCylinderModel</a></span></b></p>
 
 <p class=MsoNormal>&nbsp;</p>
@@ -3471,5 +3471,5 @@
 <p class=MsoNormal style='margin-left:.55in;text-indent:-.3in'><b><span
 style='font-size:14.0pt'>2.11.<span style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
-</span></span></b><b><span style='font-size:14.0pt'><a name="ParallelepipedModel">ParallelepipedModel</span></b></p>
+</span></span></b><b><span style='font-size:14.0pt'><a name="ParallelepipedModel">ParallelepipedModel</a></span></b></p>
 
 <p class=MsoNormal>&nbsp;</p>
@@ -3759,5 +3759,5 @@
 <p class=MsoNormal style='margin-left:.55in;text-indent:-.3in'><b><span
 style='font-size:14.0pt'>2.12.<span style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
-</span></span></b><b><span style='font-size:14.0pt'><a name="EllipticalCylinderModel">Elliptical Cylinder Model</span></b></p>
+</span></span></b><b><span style='font-size:14.0pt'><a name="EllipticalCylinderModel">Elliptical Cylinder Model</a></span></b></p>
 
 <p class=MsoNormal>&nbsp;</p>
@@ -4120,5 +4120,5 @@
 <p class=MsoNormal style='margin-left:.55in;text-indent:-.3in'><b><span
 style='font-size:14.0pt'>2.13.<span style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
-</span></span></b><b><span style='font-size:14.0pt'><a name="EllipsoidModel">Ellipsoid Model</span></b></p>
+</span></span></b><b><span style='font-size:14.0pt'><a name="EllipsoidModel">Ellipsoid Model</a></span></b></p>
 
 <p class=MsoNormal>&nbsp;</p>
@@ -4690,5 +4690,5 @@
 <p class=MsoNormal style='margin-left:.55in;text-indent:-.3in'><b><span
 style='font-size:14.0pt'>2.15.<span style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
-</span></span></b><b><span style='font-size:14.0pt'><a name="TriaxialEllipsoidModel">TriaxialEllipsoidModel</span></b></p>
+</span></span></b><b><span style='font-size:14.0pt'><a name="TriaxialEllipsoidModel">TriaxialEllipsoidModel</a></span></b></p>
 
 <p class=MsoNormal>&nbsp;</p>
@@ -4951,5 +4951,5 @@
 <p class=MsoNormal style='margin-left:.55in;text-indent:-.3in'><b><span
 style='font-size:14.0pt'>2.16.<span style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
-</span></span></b><b><span style='font-size:14.0pt'><a name="LamellarModel">LamellarModel</span></b></p>
+</span></span></b><b><span style='font-size:14.0pt'><a name="LamellarModel">LamellarModel</a></span></b></p>
 
 <p class=MsoNormal>&nbsp;</p>
@@ -5141,5 +5141,5 @@
 <p class=MsoNormal style='margin-left:.55in;text-indent:-.3in'><b><span
 style='font-size:14.0pt'>2.17.<span style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
-</span></span></b><b><span style='font-size:14.0pt'><a name="LamellarFFHGModel">LamellarFFHGModel</span></b></p>
+</span></span></b><b><span style='font-size:14.0pt'><a name="LamellarFFHGModel">LamellarFFHGModel</a></span></b></p>
 
 <p class=MsoNormal>&nbsp;</p>
@@ -5400,5 +5400,5 @@
 <p class=MsoNormal style='margin-left:.55in;text-indent:-.3in'><b><span
 style='font-size:14.0pt'>2.18.<span style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
-</span></span></b><b><span style='font-size:14.0pt'><a name="LamellarPSModel">LamellarPSModel</span></b></p>
+</span></span></b><b><span style='font-size:14.0pt'><a name="LamellarPSModel">LamellarPSModel</a></span></b></p>
 
 <p class=MsoNormal>&nbsp;</p>
@@ -5629,5 +5629,5 @@
 <p class=MsoNormal style='margin-left:.55in;text-indent:-.3in'><b><span
 style='font-size:14.0pt'>2.19.<span style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
-</span></span></b><b><span style='font-size:14.0pt'><a name="LamellarPSHGModel">LamellarPSHGModel</span></b></p>
+</span></span></b><b><span style='font-size:14.0pt'><a name="LamellarPSHGModel">LamellarPSHGModel</a></span></b></p>
 
 <p class=MsoNormal>&nbsp;</p>
@@ -5959,5 +5959,5 @@
 <p class=MsoNormal style='margin-left:.55in;text-indent:-.3in'><b><span
 style='font-size:14.0pt'>3.1.<span style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
-</span></span></b><b><span style='font-size:14.0pt'> <a name="Debye">Debye (Model)</span></b></p>
+</span></span></b><b><span style='font-size:14.0pt'> <a name="Debye">Debye (Model)</a></span></b></p>
 
 <p class=MsoNormal style='text-autospace:none'>&nbsp;</p>
@@ -6085,5 +6085,5 @@
 style='font-size:14.0pt'>3.2.<span style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
 </span></span></b><b><span style='font-size:14.0pt'> <a name="Lorentz">(Ornstein-Zernicke) Lorentz
-(Model)</span></b></p>
+(Model)</a></span></b></p>
 
 <p class=MsoNormal style='text-autospace:none'>&nbsp;</p>
@@ -6194,5 +6194,5 @@
 <p class=MsoNormal style='margin-left:.55in;text-indent:-.3in'><b><span
 style='font-size:14.0pt'>3.3.<span style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
-</span></span></b><b><span style='font-size:14.0pt'> <a name="DAB_Model">DAB (Debye-Anderson-Brumberger)_Model</span></b></p>
+</span></span></b><b><span style='font-size:14.0pt'> <a name="DAB_Model">DAB (Debye-Anderson-Brumberger)_Model</a></span></b></p>
 
 <p class=MsoNormal style='margin-left:.55in'><b><span style='font-size:14.0pt'>&nbsp;</span></b></p>
@@ -6752,5 +6752,5 @@
 <p class=MsoNormal style='margin-left:.55in;text-indent:-.3in'><b><span
 style='font-size:14.0pt'>3.7.<span style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
-</span></span></b><b><span style='font-size:14.0pt'> <a name="BEPolyelectrolyte"> BEPolyelectrolyte Model</span></b></p>
+</span></span></b><b><span style='font-size:14.0pt'> <a name="BEPolyelectrolyte"> BEPolyelectrolyte Model</a></span></b></p>
 
 <p class=MsoNormal><b><span style='font-size:14.0pt'>&nbsp;</span></b></p>
@@ -6965,5 +6965,5 @@
 <p class=MsoNormal style='margin-left:.55in;text-indent:-.3in'><b><span
 style='font-size:14.0pt'>3.8.<span style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
-</span></span></b><b><span style='font-size:14.0pt'> <a name="Guinier">Guinier (Model)</span></b></p>
+</span></span></b><b><span style='font-size:14.0pt'> <a name="Guinier">Guinier (Model)</a></span></b></p>
 
 <p class=MsoNormal><b><span style='font-size:14.0pt'>&nbsp;</span></b></p>
@@ -7056,5 +7056,5 @@
 <p class=MsoNormal style='margin-left:.55in;text-indent:-.3in'><b><span
 style='font-size:14.0pt'>3.9.<span style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
-</span></span></b><b><span style='font-size:14.0pt'> <a name="PorodModel">PorodModel</span></b></p>
+</span></span></b><b><span style='font-size:14.0pt'> <a name="PorodModel">PorodModel</a></span></b></p>
 
 <p class=MsoNormal><b><span style='font-size:14.0pt'>&nbsp;</span></b></p>
@@ -7161,5 +7161,5 @@
 <p class=MsoNormal style='margin-left:.55in;text-indent:-.3in'><b><span
 style='font-size:14.0pt'>3.10.<span style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
-</span></span></b><b><span style='font-size:14.0pt'><a name="Peak Gauss Model"> Peak Gauss Model</span></b></p>
+</span></span></b><b><span style='font-size:14.0pt'><a name="Peak Gauss Model"> Peak Gauss Model</a></span></b></p>
 
 <p class=MsoNormal><b><span style='font-size:14.0pt'>&nbsp;</span></b></p>
@@ -7298,5 +7298,5 @@
 <p class=MsoNormal style='margin-left:.55in;text-indent:-.3in'><b><span
 style='font-size:14.0pt'>3.11.<span style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
-</span></span></b><b><span style='font-size:14.0pt'> <a name="Peak Lorentz Model">Peak Lorentz Model</span></b></p>
+</span></span></b><b><span style='font-size:14.0pt'> <a name="Peak Lorentz Model">Peak Lorentz Model</a></span></b></p>
 
 <p class=MsoNormal><b><span style='font-size:14.0pt'>&nbsp;</span></b></p>
@@ -7431,5 +7431,5 @@
 <p class=MsoNormal style='margin-left:.55in;text-indent:-.3in'><b><span
 style='font-size:14.0pt'>3.12.<span style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
-</span></span></b><b><span style='font-size:14.0pt'> <a name="LineModel"> LineModel</span></b></p>
+</span></span></b><b><span style='font-size:14.0pt'> <a name="LineModel"> LineModel</a></span></b></p>
 
 <p class=MsoNormal><b><span style='font-size:14.0pt'>&nbsp;</span></b></p>
@@ -7546,5 +7546,5 @@
 <p class=MsoListParagraphCxSpLast style='margin-left:.55in;text-indent:-.3in'><b><span
 style='font-size:14.0pt'>4.2.<span style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
-</span></span></b><b><span style='font-size:14.0pt'><a name ="sin(poly)/poly"> sin(poly)/poly </a></span></b></p>
+</span></span></b><b><span style='font-size:14.0pt'><a name ="sinpoly_poly"> sin(poly)/poly </a></span></b></p>
 
 <p class=MsoNormal><b>&nbsp;</b></p>
