Index: sansmodels/src/sans/models/media/model_functions.html
===================================================================
--- sansmodels/src/sans/models/media/model_functions.html	(revision 17574ae6b0cad29604b5f9e20e14c24c59a49851)
+++ sansmodels/src/sans/models/media/model_functions.html	(revision f40f7432151711f8d260e3e0059586c096026c26)
@@ -8,5 +8,5 @@
 <li style="line-height: 115%;"><a href="#Introduction"><strong>Introduction</strong></a></li>
 <li style="line-height: 115%;"><a href="#Shapes"><strong>Shapes</strong></a>: <a href="#SphereModel">SphereModel</a>, <a href="#BinaryHSModel">BinaryHSModel</a>, <a href="#FuzzySphereModel">FuzzySphereModel</a>, <a href="#RaspBerryModel">RaspBerryModel</a>, <a href="#CoreShellModel">CoreShellModel</a>,&nbsp;<a href="#Core2ndMomentModel">Core2ndMomentModel</a>, <a href="#CoreMultiShellModel">CoreMultiShellModel</a>, <a href="#VesicleModel">VesicleModel</a>, <a href="#MultiShellModel">MultiShellModel</a>, &nbsp;<a href="#OnionExpShellModel">OnionExpShellModel</a>, <a href="#SphericalSLDModel">SphericalSLDModel</a>, <a href="#LinearPearlsModel">LinearPearlsModel</a>, <a href="#PearlNecklaceModel">PearlNecklaceModel</a> , <a href="#CylinderModel">CylinderModel</a>, <a href="#CoreShellCylinderModel">CoreShellCylinderModel</a>, <a href="#CoreShellBicelleModel">CoreShellBicelleModel</a>,<a href="#HollowCylinderModel">HollowCylinderModel</a>, <a href="#FlexibleCylinderModel">FlexibleCylinderModel</a>, <a href="#FlexibleCylinderModel">FlexCylEllipXModel</a>, <a href="#StackedDisksModel">StackedDisksModel</a>, <a href="#ParallelepipedModel">ParallelepipedModel</a>, <a href="#CSParallelepipedModel">CSParallelepipedModel</a>, <a href="#EllipticalCylinderModel">EllipticalCylinderModel</a>, <a href="#BarBellModel">BarBellModel</a>, <a href="#CappedCylinderModel">CappedCylinderModel</a>, <a href="#EllipsoidModel">EllipsoidModel</a>, <a href="#CoreShellEllipsoidModel">CoreShellEllipsoidModel</a>, <a href="#TriaxialEllipsoidModel">TriaxialEllipsoidModel</a>, <a href="#LamellarModel">LamellarModel</a>, <a href="#LamellarFFHGModel">LamellarFFHGModel</a>, <a href="#LamellarPSModel">LamellarPSModel</a>, <a href="#LamellarPSHGModel">LamellarPSHGModel</a>, <a href="#LamellarPCrystalModel">LamellarPCrystalModel</a>, <a href="#SCCrystalModel">SCCrystalModel</a>, <a href="#FCCrystalModel">FCCrystalModel</a>, <a href="#BCCrystalModel">BCCrystalModel</a>.</li>
-<li style="line-height: 115%;"><a href="#Shape-Independent"><strong>Shape-Independent</strong></a>: <a href="#Absolute%20Power_Law">AbsolutePower_Law</a>, <a href="#BEPolyelectrolyte">BEPolyelectrolyte</a>, <a href="#BroadPeak">BroadPeak,<span><span style="text-decoration: underline;"><span style="color: blue;">CorrLength</span></span></span><span>,</span></a> <a href="#DAB_Model">DAB_Model</a>, <a href="#Debye">Debye</a>, <a href="#Number_Density_Fractal">FractalModel</a>, <a href="#FractalCoreShell">FractalCoreShell</a>, <a href="#GaussLorentzGel">GaussLorentzGel</a>, <a href="#Guinier">Guinier</a>, <a href="#GuinierPorod">GuinierPorod</a>, <a href="#Lorentz">Lorentz</a>, <a href="#Mass_Fractal">MassFractalModel</a>, <a href="#MassSurface_Fractal">MassSurfaceFractal</a>, <a href="#Peak%20Gauss%20Model">PeakGaussModel</a>, <a href="#Peak%20Lorentz%20Model">PeakLorentzModel</a>, <a href="#Poly_GaussCoil">Poly_GaussCoil</a>, <a href="#PolymerExclVolume">PolyExclVolume</a>, <a href="#PorodModel">PorodModel</a>, <a href="#RPA10Model">RPA10Model</a>, <a href="#StarPolymer">StarPolymer</a>, <a href="#Surface_Fractal">SurfaceFractalModel</a>, <a href="#Teubner%20Strey">Teubner Strey</a>, <a href="#TwoLorentzian">TwoLorentzian</a>, <a href="#TwoPowerLaw">TwoPowerLaw</a>, <a href="#UnifiedPowerRg">UnifiedPowerRg</a>, <a href="#LineModel">LineModel</a>, <a href="#ReflectivityModel">ReflectivityModel</a>, <a href="#ReflectivityIIModel">ReflectivityIIModel</a>, <a href="#GelFitModel">GelFitModel</a>, <a href="#FractalO_Z">FractalO_Z</a>.</li>
+<li style="line-height: 115%;"><a href="#Shape-Independent"><strong>Shape-Independent</strong></a>: <a href="#Absolute%20Power_Law">AbsolutePower_Law</a>, <a href="#BEPolyelectrolyte">BEPolyelectrolyte</a>, <a href="#BroadPeak">BroadPeak,<span><span style="text-decoration: underline;"><span style="color: blue;">CorrLength</span></span></span><span>,</span></a> <a href="#DAB_Model">DAB_Model</a>, <a href="#Debye">Debye</a>, <a href="#Number_Density_Fractal">FractalModel</a>, <a href="#FractalCoreShell">FractalCoreShell</a>, <a href="#GaussLorentzGel">GaussLorentzGel</a>, <a href="#Guinier">Guinier</a>, <a href="#GuinierPorod">GuinierPorod</a>, <a href="#Lorentz">Lorentz</a>, <a href="#Mass_Fractal">MassFractalModel</a>, <a href="#MassSurface_Fractal">MassSurfaceFractal</a>, <a href="#Peak%20Gauss%20Model">PeakGaussModel</a>, <a href="#Peak%20Lorentz%20Model">PeakLorentzModel</a>, <a href="#Poly_GaussCoil">Poly_GaussCoil</a>, <a href="#PolymerExclVolume">PolyExclVolume</a>, <a href="#PorodModel">PorodModel</a>, <a href="#RPA10Model">RPA10Model</a>, <a href="#StarPolymer">StarPolymer</a>, <a href="#Surface_Fractal">SurfaceFractalModel</a>, <a href="#Teubner%20Strey">Teubner Strey</a>, <a href="#TwoLorentzian">TwoLorentzian</a>, <a href="#TwoPowerLaw">TwoPowerLaw</a>, <a href="#UnifiedPowerRg">UnifiedPowerRg</a>, <a href="#LineModel">LineModel</a>, <a href="#ReflectivityModel">ReflectivityModel</a>, <a href="#ReflectivityIIModel">ReflectivityIIModel</a>, <a href="#GelFitModel">GelFitModel</a>.</li>
 <li style="line-height: 115%;"><a href="#Model"><strong>Customized Models</strong></a>: <a href="#testmodel">testmodel</a>, <a href="#testmodel_2">testmodel_2</a>, <a href="#sum_p1_p2">sum_p1_p2</a>, <a href="#sum_Ap1_1_Ap2">sum_Ap1_1_Ap2</a>, <a href="#polynomial5">polynomial5</a>, <a href="#sph_bessel_jn">sph_bessel_jn</a>.</li>
 <li style="line-height: 115%;"><a href="#Structure_Factors"><strong>Structure Factors</strong></a>: <a href="#HardsphereStructure">HardSphereStructure</a>, <a href="#SquareWellStructure">SquareWellStructure</a>, <a href="#HayterMSAStructure">HayterMSAStructure</a>, <a href="#StickyHSStructure">StickyHSStructure</a>.</li>
@@ -5426,5 +5426,6 @@
 <p>&nbsp;</p>
 <p style="margin-left: 0.55in; text-indent: -0.3in;"><strong><span style="font-size: 14pt;">3.11.</span></strong><strong><span style="font-size: 7pt;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span></strong><strong><span style="font-size: 14pt;"><a name="MassSurface_Fractal"></a><a name="MassSurfaceFractal"></a>MassSurfaceFractal</span></strong></p>
-<p style="margin-left: 0.25in;">Calculates the scattering&nbsp; based on the Schmidt/Hurd references (below).&nbsp;</p>
+<p>&nbsp;&nbsp;&nbsp; A number of natural and commercial processes form high-surface area materials as a result of the vapour-phase aggregation of primary particles. Examples of such materials include soots, aerosols, and &lsquo;fume&rsquo; or pyrogenic silicas. These are all characterised by cluster mass distributions (sometimes also cluster size distributions) and internal surfaces that are fractal in nature. &nbsp; The scattering from such materials displays two distinct breaks in log-log representation, corresponding to the radius-of-gyration of the primary particles, rg, and the radius-of-gyration of the clusters (aggregates), Rg. Between these boundaries the scattering follows a power law related to the mass fractal dimension, Dm, whilst above the high-Q boundary the scattering follows a power law related to the surface fractal dimension of the primary particles, Ds.</p>
+<p style="margin-left: 0.55in;">The scattered intensity I(Q) is then calculated using a modified Ornstein-Zernicke equation:</p>
 <p style="text-align: center;" align="center"><span style="font-size: 14pt; position: relative; top: 85pt;"><br /> </span></p>
 <p style="text-align: center;" align="center"><span style="font-size: 12pt; font-family: 'Times New Roman','serif'; position: relative; top: 4.5pt;"><img src="img/masssurface_fractal_eq1.jpg" alt="" /></span><span style="font-size: 14pt;">&nbsp;</span></p>
@@ -7030,102 +7031,4 @@
 <p style="margin-left: 0.25in; text-indent: 0.25in;">H. Benoit, &nbsp; J. Polymer Science.,&nbsp; 11, 596-599&nbsp; (1953)</p>
 <p>&nbsp;</p>
-<p style="margin-left: 0.55in; text-indent: -0.3in;"><strong><span style="font-size: 14pt;">3.30.</span></strong><strong><span style="font-size: 7pt;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span></strong><a name="FractalO_Z"></a><strong><span style="font-size: 14pt;">FractalO_Z</span></strong></p>
-<p>&nbsp;&nbsp;&nbsp; A number of natural and commercial processes form high-surface area materials as a result of the vapour-phase aggregation of primary particles. Examples of such materials include soots, aerosols, and &lsquo;fume&rsquo; or pyrogenic silicas. These are all characterised by cluster mass distributions (sometimes also cluster size distributions) and internal surfaces that are fractal in nature. &nbsp; The scattering from such materials displays two distinct breaks in log-log representation, corresponding to the radius-of-gyration of the primary particles, rg, and the radius-of-gyration of the clusters (aggregates), Rg. Between these boundaries the scattering follows a power law related to the mass fractal dimension, Dm, whilst above the high-Q boundary the scattering follows a power law related to the surface fractal dimension of the primary particles, Ds.</p>
-<p style="margin-left: 0.55in;">The scattered intensity I(Q) is then calculated using a modified Ornstein-Zernicke equation:</p>
-<p><img src="img/image236.gif" alt="" /></p>
-<p style="margin-left: 0.55in;">Where:</p>
-<p><span><img src="img/image237.gif" alt="" /></span></p>
-<p>&nbsp;</p>
-<p>&nbsp;&nbsp;&nbsp; This example dataset was produced using 300 data points, qmin=0.001 &Aring;-1, qmax=0.3 &Aring;-1 and the default values:</p>
-<p style="margin-left: 0.25in; text-align: center;" align="center"><strong>Default input parameter values</strong></p>
-<div align="center">
-<table style="border-collapse: collapse;" border="2" cellspacing="0" cellpadding="0">
-<tbody>
-<tr style="height: 19.25pt;">
-<td style="border: 1pt solid width: 107pt; height: 19.25pt;" valign="top" width="143">
-<p>Parameter name</p>
-</td>
-<td style="border-width: 1pt 1pt 1pt medium; width: 107pt; height: 19.25pt;" valign="top" width="143">
-<p>Units</p>
-</td>
-<td style="border-width: 1pt 1pt 1pt medium; width: 107pt; height: 19.25pt;" valign="top" width="143">
-<p>Default value</p>
-</td>
-</tr>
-<tr style="height: 19.25pt;">
-<td style="border-width: medium 1pt 1pt; width: 107pt; height: 19.25pt;" valign="top" width="143">
-<p>Background</p>
-</td>
-<td style="border-width: medium 1pt 1pt medium; width: 107pt; height: 19.25pt;" valign="top" width="143">
-<p>cm-1</p>
-</td>
-<td style="border-width: medium 1pt 1pt medium; width: 107pt; height: 19.25pt;" valign="top" width="143">
-<p>0.01</p>
-</td>
-</tr>
-<tr style="height: 19.25pt;">
-<td style="border-width: medium 1pt 1pt; vertical-align: top; width: 107pt; height: 19.25pt;">
-<p>Scale</p>
-</td>
-<td style="border-width: medium 1pt 1pt medium; width: 107pt; height: 19.25pt;" valign="top" width="143">
-<p>cm-1</p>
-</td>
-<td style="border-width: medium 1pt 1pt medium; width: 107pt; height: 19.25pt;" valign="top" width="143">
-<p>10000.0</p>
-</td>
-</tr>
-<tr style="height: 19.25pt;">
-<td style="border-width: medium 1pt 1pt; width: 107pt; height: 19.25pt;" valign="top" width="143">
-<p>Cluster Rg</p>
-</td>
-<td style="border-width: medium 1pt 1pt medium; width: 107pt; height: 19.25pt;" valign="top" width="143">
-<p>&Aring;</p>
-</td>
-<td style="border-width: medium 1pt 1pt medium; width: 107pt; height: 19.25pt;" valign="top" width="143">
-<p>3520.0</p>
-</td>
-</tr>
-<tr style="height: 19.25pt;">
-<td style="border-width: medium 1pt 1pt; width: 107pt; height: 19.25pt;" valign="top" width="143">
-<p>Mass fractal exponent</p>
-</td>
-<td style="border-width: medium 1pt 1pt medium; width: 107pt; height: 19.25pt;" valign="top" width="143">&nbsp;</td>
-<td style="border-width: medium 1pt 1pt medium; width: 107pt; height: 19.25pt;" valign="top" width="143">
-<p>1.8</p>
-</td>
-</tr>
-<tr style="height: 19.25pt;">
-<td style="border-width: medium 1pt 1pt; width: 107pt; height: 19.25pt;" valign="top" width="143">
-<p>Primary particle Rg</p>
-</td>
-<td style="border-width: medium 1pt 1pt medium; width: 107pt; height: 19.25pt;" valign="top" width="143">
-<p>&Aring;</p>
-</td>
-<td style="border-width: medium 1pt 1pt medium; width: 107pt; height: 19.25pt;" valign="top" width="143">
-<p>82.0</p>
-</td>
-</tr>
-<tr style="height: 19.25pt;">
-<td style="border-width: medium 1pt 1pt; width: 107pt; height: 19.25pt;" valign="top" width="143">
-<p>Surface fractal exponent</p>
-</td>
-<td style="border-width: medium 1pt 1pt medium; width: 107pt; height: 19.25pt;" valign="top" width="143">
-<p>cm-1</p>
-</td>
-<td style="border-width: medium 1pt 1pt medium; width: 107pt; height: 19.25pt;" valign="top" width="143">
-<p>2.5</p>
-</td>
-</tr>
-</tbody>
-</table>
-</div>
-<p style="margin-left: 0.5in;">&nbsp;</p>
-<p style="margin-left: 0.5in;">&nbsp;</p>
-<p style="margin-left: 0.5in; text-align: center;" align="center"><img id="Picture 11" src="img/image238.gif" alt="" width="470" height="336" /></p>
-<p style="text-align: center;" align="center"><strong>Figure. 1D plot using the default values (w/300 data points, qmin=0.001, and qmax=0.3).</strong></p>
-<p style="margin-left: 0.5in; text-align: center;" align="center">&nbsp;</p>
-<p style="margin-left: 0.25in;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; REFERENCES</p>
-<p style="margin-left: 0.25in;">PW Schmidt, J Appl Cryst, (1991), 24, 414-435.</p>
-<p style="margin-left: 0.25in;">AJ Hurd, DW Schaefer, JE Martin, Phys Rev A, (1987), 35, 2361-2364.</p>
 <p>&nbsp;</p>
 <p style="margin-left: 0.25in; text-indent: -0.25in;"><strong><span style="font-size: 16pt;">4.</span></strong><strong><span style="font-size: 7pt;">&nbsp;&nbsp;&nbsp; </span></strong><a name="Model"></a><strong><span style="font-size: 16pt;">Customized Models </span></strong></p>
