Index: src/sans/models/media/model_functions.html
===================================================================
--- src/sans/models/media/model_functions.html	(revision a857c0a196ef66c6bead9ddf68c4387e4bab6f64)
+++ src/sans/models/media/model_functions.html	(revision a110e37f3899ca055ece7b3152a10cac0ec49e00)
@@ -8,101 +8,105 @@
 <li><a href="#Introduction"><b>Introduction</b></a></li>
 <li><a href="#Shapes"><b>Shapes</b></a>: 
-	<ul>
-	<li>Sphere based:<br/>
-	<a href="#SphereModel">SphereModel (Magnetic 2D Model)</a>, 
-	<a href="#BinaryHSModel">BinaryHSModel</a>, 
-	<a href="#FuzzySphereModel">FuzzySphereModel</a>, 
-	<a href="#RaspBerryModel">RaspBerryModel</a>, 
-	<a href="#CoreShellModel">CoreShellModel (Magnetic 2D Model)</a>,
-	<a href="#Core2ndMomentModel">Core2ndMomentModel</a>, 
-	<a href="#CoreMultiShellModel">CoreMultiShellModel (Magnetic 2D Model)</a>, 
-	<a href="#VesicleModel">VesicleModel</a>, 
-	<a href="#MultiShellModel">MultiShellModel</a>, 
-	<a href="#OnionExpShellModel">OnionExpShellModel</a>, 
-	<a href="#SphericalSLDModel">SphericalSLDModel</a>, 
-	<a href="#LinearPearlsModel">LinearPearlsModel</a>, 
-	<a href="#PearlNecklaceModel">PearlNecklaceModel</a>
-	</li>
-	<li>Cylinder based:<br/>
-	<a href="#CylinderModel">CylinderModel (Magnetic 2D Model)</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="#EllipticalCylinderModel">EllipticalCylinderModel</a>, 
-	<a href="#BarBellModel">BarBellModel</a>, 
-	<a href="#CappedCylinderModel">CappedCylinderModel</a>,
-	<a href="#PringleModel">PringleModel</a> 
-	</li>
-	<li>Parallelpipeds:<br/>
-	<a href="#ParallelepipedModel">ParallelepipedModel (Magnetic 2D Model)</a>,
-	<a href="#CSParallelepipedModel">CSParallelepipedModel</a>
-	</li>
-	<li>Ellipsoids:<br/>
-	<a href="#EllipsoidModel">EllipsoidModel</a>, 
-	<a href="#CoreShellEllipsoidModel">CoreShellEllipsoidModel</a>, 
-	<a href="#TriaxialEllipsoidModel">TriaxialEllipsoidModel</a>
-	</li>
-	<li>Lamellar:<br/> 
-	<a href="#LamellarModel">LamellarModel</a>, 
-	<a href="#LamellarFFHGModel">LamellarFFHGModel</a>, 
-	<a href="#LamellarPSModel">LamellarPSModel</a>, 
-	<a href="#LamellarPSHGModel">LamellarPSHGModel</a>
-	</li>
-	<li>Paracrystals:<br/>
-	<a href="#LamellarPCrystalModel">LamellarPCrystalModel</a>, 
-	<a href="#SCCrystalModel">SCCrystalModel</a>, 
-	<a href="#FCCrystalModel">FCCrystalModel</a>, 
-	<a href="#BCCrystalModel">BCCrystalModel</a>
-	</li>
-	</ul>
+    <ul>
+    <li>Sphere based:<br/>
+    <a href="#SphereModel">SphereModel (Magnetic 2D Model)</a>, 
+    <a href="#BinaryHSModel">BinaryHSModel</a>, 
+    <a href="#FuzzySphereModel">FuzzySphereModel</a>, 
+    <a href="#RaspBerryModel">RaspBerryModel</a>, 
+    <a href="#CoreShellModel">CoreShellModel (Magnetic 2D Model)</a>,
+    <a href="#Core2ndMomentModel">Core2ndMomentModel</a>, 
+    <a href="#CoreMultiShellModel">CoreMultiShellModel (Magnetic 2D Model)</a>, 
+    <a href="#VesicleModel">VesicleModel</a>, 
+    <a href="#MultiShellModel">MultiShellModel</a>, 
+    <a href="#OnionExpShellModel">OnionExpShellModel</a>, 
+    <a href="#SphericalSLDModel">SphericalSLDModel</a>, 
+    <a href="#LinearPearlsModel">LinearPearlsModel</a>, 
+    <a href="#PearlNecklaceModel">PearlNecklaceModel</a>
+    </li>
+    <li>Cylinder based:<br/>
+    <a href="#CylinderModel">CylinderModel (Magnetic 2D Model)</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="#EllipticalCylinderModel">EllipticalCylinderModel</a>, 
+    <a href="#BarBellModel">BarBellModel</a>, 
+    <a href="#CappedCylinderModel">CappedCylinderModel</a>,
+    <a href="#PringleModel">PringleModel</a> 
+    </li>
+    <li>Parallelpipeds:<br/>
+    <a href="#ParallelepipedModel">ParallelepipedModel (Magnetic 2D Model)</a>,
+    <a href="#CSParallelepipedModel">CSParallelepipedModel</a>,
+    <a href="#RectangularHollowPrismInfThinWallsModel">RectangularHollowPrismInfThinWallsModel</a>,
+    <a href="#RectangularPrismModel">RectangularPrismModel</a>,
+    <a href="#RectangularHollowPrismModel">RectangularHollowPrismModel</a>
+    </li>
+    <li>Ellipsoids:<br/>
+    <a href="#EllipsoidModel">EllipsoidModel</a>, 
+    <a href="#CoreShellEllipsoidModel">CoreShellEllipsoidModel</a>, 
+    <a href="#CoreShellEllipsoidXTModel">CoreShellEllipsoidXTModel</a>, 
+    <a href="#TriaxialEllipsoidModel">TriaxialEllipsoidModel</a>
+    </li>
+    <li>Lamellar:<br/> 
+    <a href="#LamellarModel">LamellarModel</a>, 
+    <a href="#LamellarFFHGModel">LamellarFFHGModel</a>, 
+    <a href="#LamellarPSModel">LamellarPSModel</a>, 
+    <a href="#LamellarPSHGModel">LamellarPSHGModel</a>
+    </li>
+    <li>Paracrystals:<br/>
+    <a href="#LamellarPCrystalModel">LamellarPCrystalModel</a>, 
+    <a href="#SCCrystalModel">SCCrystalModel</a>, 
+    <a href="#FCCrystalModel">FCCrystalModel</a>, 
+    <a href="#BCCrystalModel">BCCrystalModel</a>
+    </li>
+    </ul>
 <li><a href="#Shape-Independent"><b>Shape-Independent</b></a>: 
-	<a href="#Absolute%20Power_Law">AbsolutePower_Law</a>, 
-	<a href="#BEPolyelectrolyte">BEPolyelectrolyte</a>, 
-	<a href="#BroadPeakModel">BroadPeakModel</a>,
-	<a href="#CorrLength">CorrLength</a>, 
-	<a href="#DABModel">DABModel</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="#TeubnerStreyModel">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>
-	
+    <a href="#Absolute%20Power_Law">AbsolutePower_Law</a>, 
+    <a href="#BEPolyelectrolyte">BEPolyelectrolyte</a>, 
+    <a href="#BroadPeakModel">BroadPeakModel</a>,
+    <a href="#CorrLength">CorrLength</a>, 
+    <a href="#DABModel">DABModel</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="#TeubnerStreyModel">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><a href="#Model"><b>Customized Models</b></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>
-	
+    <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><a href="#Structure_Factors"><b>Structure Factors</b></a>: 
-	<a href="#HardsphereStructure">HardSphereStructure</a>, 
-	<a href="#SquareWellStructure">SquareWellStructure</a>, 
-	<a href="#HayterMSAStructure">HayterMSAStructure</a>, 
-	<a href="#StickyHSStructure">StickyHSStructure</a>.</li>
-	
+    <a href="#HardsphereStructure">HardSphereStructure</a>, 
+    <a href="#SquareWellStructure">SquareWellStructure</a>, 
+    <a href="#HayterMSAStructure">HayterMSAStructure</a>, 
+    <a href="#StickyHSStructure">StickyHSStructure</a>.</li>
+    
 <li><a href="#References"><b>References</b></a></li>
 </ul>
@@ -3575,6 +3579,325 @@
 
 
-
-<p style="margin-left: 0.55in; text-indent: -0.3in;"><b><span style="font-size: 14pt;">2.27.</span></b><b><span style="font-size: 7pt;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span></b><a name="EllipsoidModel"></a><b><span style="font-size: 14pt;">Ellipsoid Model</span></b></p>
+<p style="margin-left: 0.55in; text-indent: -0.3in;"><b><span style="font-size: 14pt;">2.27.</span></b><b><span style="font-size: 7pt;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span></b><b><span style="font-size: 14pt;"><a name="RectangularHollowPrismInfThinWallsModel"></a>RectangularHollowPrismInfThinWallsModel</span></b></p>
+
+<p>This model provides the form factor, P( <em>q</em>), for a hollow rectangular prism
+with infinitely thin walls.</p>
+<p><em>Definition</em></p>
+<p>The 1D scattering intensity for this model is calculated according to the equations given by
+Nayuk and Huber (Nayuk, 2012).</p>
+<p>Assuming a hollow parallelepiped with infinitely thin walls, edge lengths <span class="formula"><i>A</i>â
+â€â
+<i>B</i>â
+â€â
+<i>C</i></span>
+
+and presenting an orientation with respect to the scattering vector given by Îž and Ï,
+where Îž is the angle between the <em>z</em> axis and the longest axis of the parallelepiped <em>C</em>, and Ï
+is the angle between the scattering vector (lying in the <em>xy</em> plane) and the <em>y</em> axis,
+the form factor is given by:</p>
+
+<p style="text-align: center;" align="center"><span style="position: relative; top: 6pt;"><img src="img/RectangularHollowPrismInfThinWalls_1.png" alt="" /></span></p>
+
+<p>where</p>
+
+<p style="text-align: center;" align="center"><span style="position: relative; top: 6pt;"><img src="img/RectangularHollowPrismInfThinWalls_2.png" alt="" /></span></p>
+
+<p style="text-align: center;" align="center"><span style="position: relative; top: 6pt;"><img src="img/RectangularHollowPrismInfThinWalls_3.png" alt="" /></span></p>
+
+<p style="text-align: center;" align="center"><span style="position: relative; top: 6pt;"><img src="img/RectangularHollowPrismInfThinWalls_4.png" alt="" /></span></p>
+
+<p>and</p>
+
+<p style="text-align: center;" align="center"><span style="position: relative; top: 6pt;"><img src="img/RectangularHollowPrismInfThinWalls_5.png" alt="" /></span></p>
+
+<p>The 1D scattering intensity is calculated as:</p>
+
+<p style="text-align: center;" align="center"><span style="position: relative; top: 6pt;"><img src="img/RectangularHollowPrismInfThinWalls_6.png" alt="" /></span></p>
+
+<p>where <em>V</em> is the volume of the rectangular prism, <span class="formula"><i>Ï</i><sub><span class="mbox">pipe</span></sub></span>
+ is the scattering length of the
+parallelepiped, <span class="formula"><i>Ï</i><sub><span class="mbox">solvent</span></sub></span>
+ is the scattering length of the solvent, and
+(if the data are in absolute scale) scale represents the volume fraction (which is unitless) .</p>
+<p>The 2D scattering intensity is not computed by this model.</p>
+<p>The returned value is scaled to units of cm<sup>-1</sup> and the parameters of the RectangularHollowPrismInfThinWallModel
+are the following:</p>
+<table border="1" class="docutils">
+<colgroup>
+<col width="40%" />
+<col width="23%" />
+<col width="37%" />
+</colgroup>
+<thead valign="bottom">
+<tr><th class="head">Parameter name</th>
+<th class="head">Units</th>
+<th class="head">Default value</th>
+</tr>
+</thead>
+<tbody valign="top">
+<tr><td>scale</td>
+<td>None</td>
+<td>1</td>
+</tr>
+<tr><td>short_side</td>
+<td>â«</td>
+<td>35</td>
+</tr>
+<tr><td>b2a_ratio</td>
+<td>None</td>
+<td>1</td>
+</tr>
+<tr><td>c2a_ratio</td>
+<td>None</td>
+<td>1</td>
+</tr>
+<tr><td>sldPipe</td>
+<td>â«<sup>-2</sup></td>
+<td>6.3e-6</td>
+</tr>
+<tr><td>sldSolv</td>
+<td>â«<sup>-2</sup></td>
+<td>1.0e-6</td>
+</tr>
+<tr><td>background</td>
+<td>cm<sup>-1</sup></td>
+<td>0</td>
+</tr>
+</tbody>
+</table>
+<p>REFERENCES</p>
+<ol class="upperalpha simple" start="18">
+<li>Nayuk and K. Huber, <em>Z. Phys. Chem.</em> 226 (2012) 837-854.</li>
+</ol>
+<p><em>Validation of the RectangularHollowPrismInfThinWallsModel</em></p>
+<p>Validation of the code was done qualitatively by comparing the output of the 1D model to the curves
+shown in (Nayuk, 2012).</p>
+
+
+
+
+
+
+
+
+
+
+
+
+<p style="margin-left: 0.55in; text-indent: -0.3in;"><b><span style="font-size: 14pt;">2.28.</span></b><b><span style="font-size: 7pt;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span></b><b><span style="font-size: 14pt;"><a name="RectangularPrismModel"></a>RectangularPrismModel</span></b></p>
+<p>This model provides the form factor, P( <em>q</em>), for a rectangular prism.</p>
+<p>Note that this model is almost totally equivalent to the existing
+ParallelepipedModel. The only difference is that the way the
+relevant parameters are defined here (<em>a</em>, <em>b/a</em>, <em>c/a</em> instead of <em>a</em>, <em>b</em>, <em>c</em>)
+allows to use polydispersity with this model while keeping the shape
+of the prism (e.g. setting <em>b/a</em> = 1 and <em>c/a</em> = 1 and applying polydispersity
+to <em>a</em> will generate a distribution of cubes of different sizes).</p>
+<p><em>Definition</em></p>
+<p>The 1D scattering intensity for this model was calculated by Mittelbach and Porod (Mittelbach, 1961),
+but the implementation here is closer to the equations given by Nayuk and Huber (Nayuk, 2012).</p>
+<p>The scattering from a massive parallelepiped with an orientation with respect to the scattering vector
+given by Îž and Ï is given by:</p>
+
+<p style="text-align: center;" align="center"><span style="position: relative; top: 6pt;"><img src="img/RectangularPrism_1.png" alt="" /></span></p>
+
+<p>where <em>A</em>, <em>B</em> and <em>C</em> are the sides of the parallelepiped and must fulfill <span class="formula"><i>A</i>â
+â€â
+<i>B</i>â
+â€â
+<i>C</i></span>
+,
+Îž is the angle between the <em>z</em> axis and the longest axis of the parallelepiped <em>C</em>, and Ï
+is the angle between the scattering vector (lying in the <em>xy</em> plane) and the <em>y</em> axis.</p>
+<p>The normalized form factor in 1D is obtained averaging over all possible orientations:</p>
+
+<p style="text-align: center;" align="center"><span style="position: relative; top: 6pt;"><img src="img/RectangularPrism_2.png" alt="" /></span></p>
+
+<p>The 1D scattering intensity is calculated as:</p>
+
+<p style="text-align: center;" align="center"><span style="position: relative; top: 6pt;"><img src="img/RectangularPrism_3.png" alt="" /></span></p>
+
+<p>where <em>V</em> is the volume of the rectangular prism, <span class="formula"><i>Ï</i><sub><span class="mbox">pipe</span></sub></span>
+ is the scattering length of the
+parallelepiped, <span class="formula"><i>Ï</i><sub><span class="mbox">solvent</span></sub></span>
+ is the scattering length of the solvent, and
+(if the data are in absolute scale) scale represents the volume fraction (which is unitless) .</p>
+<p>The 2D scattering intensity is not computed by this model.</p>
+<p>The returned value is scaled to units of cm<sup>-1</sup> and the parameters of the RectangularPrismModel are the following:</p>
+<table border="1" class="docutils">
+<colgroup>
+<col width="40%" />
+<col width="23%" />
+<col width="37%" />
+</colgroup>
+<thead valign="bottom">
+<tr><th class="head">Parameter name</th>
+<th class="head">Units</th>
+<th class="head">Default value</th>
+</tr>
+</thead>
+<tbody valign="top">
+<tr><td>scale</td>
+<td>None</td>
+<td>1</td>
+</tr>
+<tr><td>short_side</td>
+<td>â«</td>
+<td>35</td>
+</tr>
+<tr><td>b2a_ratio</td>
+<td>None</td>
+<td>1</td>
+</tr>
+<tr><td>c2a_ratio</td>
+<td>None</td>
+<td>1</td>
+</tr>
+<tr><td>sldPipe</td>
+<td>â«<sup>-2</sup></td>
+<td>6.3e-6</td>
+</tr>
+<tr><td>sldSolv</td>
+<td>â«<sup>-2</sup></td>
+<td>1.0e-6</td>
+</tr>
+<tr><td>background</td>
+<td>cm<sup>-1</sup></td>
+<td>0</td>
+</tr>
+</tbody>
+</table>
+<p>REFERENCES</p>
+<ol class="upperalpha simple" start="16">
+<li>Mittelbach and G. Porod, <em>Acta Physica Austriaca</em> 14 (1961) 185-211.</li>
+</ol>
+<ol class="upperalpha simple" start="18">
+<li>Nayuk and K. Huber, <em>Z. Phys. Chem.</em> 226 (2012) 837-854.</li>
+</ol>
+<p><em>Validation of the RectangularPrismModel</em></p>
+<p>Validation of the code was done by comparing the output of the 1D model to the output of the existing
+parallelepiped model.</p>
+
+
+
+
+
+
+
+
+
+
+<p style="margin-left: 0.55in; text-indent: -0.3in;"><b><span style="font-size: 14pt;">2.29.</span></b><b><span style="font-size: 7pt;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span></b><b><span style="font-size: 14pt;"><a name="RectangularHollowPrismModel"></a>RectangularHollowPrismModel</span></b></p>
+<p>This model provides the form factor, P( <em>q</em>), for a hollow rectangular parallelepiped
+with a wall thickness Î.</p>
+<p><em>Definition</em></p>
+<p>The 1D scattering intensity for this model is calculated by forming the difference of the
+amplitudes of two massive parallelepipeds differing in their outermost dimensions in
+each direction by the same length increment 2 Î (Nayuk, 2012).</p>
+<p>As in the case of the massive parallelepiped, the scattering amplitude is computed for a particular
+orientation of the parallelepiped with respect to the scattering vector and then averaged over all
+possible orientations, giving:</p>
+
+<p style="text-align: center;" align="center"><span style="position: relative; top: 6pt;"><img src="img/RectangularHollowPrism_1.png" alt="" /></span></p>
+
+<p>where Îž is the angle between the <em>z</em> axis and the longest axis of the parallelepiped, Ï
+is the angle between the scattering vector (lying in the <em>xy</em> plane) and the <em>y</em> axis, and:</p>
+
+<p style="text-align: center;" align="center"><span style="position: relative; top: 6pt;"><img src="img/RectangularHollowPrism_2.png" alt="" /></span></p>
+
+<p>where <em>A</em>, <em>B</em> and <em>C</em> are the external sides of the parallelepiped fulfilling <span class="formula"><i>A</i>â
+â€â
+<i>B</i>â
+â€â
+<i>C</i></span>
+,
+and the volume <em>V</em> of the parallelepiped is:</p>
+
+<p style="text-align: center;" align="center"><span style="position: relative; top: 6pt;"><img src="img/RectangularHollowPrism_3.png" alt="" /></span></p>
+
+<p>The 1D scattering intensity is calculated as:</p>
+
+<p style="text-align: center;" align="center"><span style="position: relative; top: 6pt;"><img src="img/RectangularHollowPrism_4.png" alt="" /></span></p>
+
+<p>where <span class="formula"><i>Ï</i><sub><span class="mbox">pipe</span></sub></span>
+ is the scattering length of the
+parallelepiped, <span class="formula"><i>Ï</i><sub><span class="mbox">solvent</span></sub></span>
+ is the scattering length of the solvent, and
+(if the data are in absolute scale) scale represents the volume fraction (which is unitless) .</p>
+<p>The 2D scattering intensity is not computed by this model.</p>
+<p>The returned value is scaled to units of cm<sup>-1</sup> and the parameters of the RectangularHollowPrismModel
+are the following:</p>
+<table border="1" class="docutils">
+<colgroup>
+<col width="40%" />
+<col width="23%" />
+<col width="37%" />
+</colgroup>
+<thead valign="bottom">
+<tr><th class="head">Parameter name</th>
+<th class="head">Units</th>
+<th class="head">Default value</th>
+</tr>
+</thead>
+<tbody valign="top">
+<tr><td>scale</td>
+<td>None</td>
+<td>1</td>
+</tr>
+<tr><td>short_side</td>
+<td>â«</td>
+<td>35</td>
+</tr>
+<tr><td>b2a_ratio</td>
+<td>None</td>
+<td>1</td>
+</tr>
+<tr><td>c2a_ratio</td>
+<td>None</td>
+<td>1</td>
+</tr>
+<tr><td>thickness</td>
+<td>â«</td>
+<td>1</td>
+</tr>
+<tr><td>sldPipe</td>
+<td>â«<sup>-2</sup></td>
+<td>6.3e-6</td>
+</tr>
+<tr><td>sldSolv</td>
+<td>â«<sup>-2</sup></td>
+<td>1.0e-6</td>
+</tr>
+<tr><td>background</td>
+<td>cm<sup>-1</sup></td>
+<td>0</td>
+</tr>
+</tbody>
+</table>
+<p>REFERENCES</p>
+<ol class="upperalpha simple" start="18">
+<li>Nayuk and K. Huber, <em>Z. Phys. Chem.</em> 226 (2012) 837-854.</li>
+</ol>
+<p><em>Validation of the RectangularHollowPrismModel</em></p>
+<p>Validation of the code was done qualitatively by comparing the output of the 1D model to the curves
+shown in (Nayuk, 2012).</p>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+<p style="margin-left: 0.55in; text-indent: -0.3in;"><b><span style="font-size: 14pt;">2.30.</span></b><b><span style="font-size: 7pt;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span></b><a name="EllipsoidModel"></a><b><span style="font-size: 14pt;">Ellipsoid Model</span></b></p>
 <p>This model provides the form factor for an ellipsoid (ellipsoid of revolution) with uniform scattering length density. The form factor is normalized by the particle volume.</p>
 <p style="margin-left: 0.85in; text-indent: -0.35in;"><b>1.1.</b><b><span style="font-size: 7pt;">&nbsp;&nbsp;&nbsp;&nbsp; </span>Definition</b></p>
@@ -3710,5 +4033,5 @@
 <p><a name="_Ref173223004"></a>Figure 6: Comparison of the intensity for uniformly distributed ellipsoids calculated from our 2D model and the intensity from the NIST SANS analysis software. The parameters used were: Scale=1.0, Radius_a=20 &Aring;, Radius_b=400 &Aring;, Contrast=3e-6 &Aring; -2, and Background=0.0 cm -1.</p>
 <p>&nbsp;</p>
-<p style="margin-left: 0.55in; text-indent: -0.3in;"><b><span style="font-size: 14pt;">2.28.</span></b><b><span style="font-size: 7pt;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span></b><a name="CoreShellEllipsoidModel"></a><b><span style="font-size: 14pt;">CoreShellEllipsoidModel </span></b></p>
+<p style="margin-left: 0.55in; text-indent: -0.3in;"><b><span style="font-size: 14pt;">2.31.</span></b><b><span style="font-size: 7pt;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span></b><a name="CoreShellEllipsoidModel"></a><b><span style="font-size: 14pt;">CoreShellEllipsoidModel </span></b></p>
 <p>This model provides the form factor, P(<em>q</em>), for a core shell ellipsoid (below) where the form factor is normalized by the volume of the cylinder. P(q) = scale*&lt;f^2&gt;/V+background where the volume V= 4pi/3*rmaj*rmin2 and the averaging &lt; &gt;&nbsp; is applied over all orientation for 1D. &nbsp;</p>
 <p style="text-align: center;" align="center">&nbsp;&nbsp;<img id="Picture 41" src="img/image125.gif" alt="" width="335" height="179" /></p>
@@ -3849,5 +4172,167 @@
 
 
-<p style="margin-left: 0.55in; text-indent: -0.3in;"><b><span style="font-size: 14pt;">2.29.</span></b><b><span style="font-size: 7pt;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span></b><a name="TriaxialEllipsoidModel"></a><b><span style="font-size: 14pt;">TriaxialEllipsoidModel</span></b></p>
+
+
+
+
+
+
+<p style="margin-left: 0.55in; text-indent: -0.3in;"><b><span style="font-size: 14pt;">2.32.</span></b><b><span style="font-size: 7pt;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span></b><a name="CoreShellEllipsoidXTModel"></a><b><span style="font-size: 14pt;">CoreShellEllipsoidXTModel </span></b></p>
+
+<p>An alternative version of P( *q*) for the core plus shell ellipsoid (see 
+CoreShellEllipsoidModel), having as 
+parameters the core axial ratio X and a shell thickness, which are more often 
+what we would like to determine and behave better when polydispersity is 
+applied than the four independent radii in the original model.</p>
+
+<p>The geometric parameters are: equat_core = equatorial core radius = Rminor_core, 
+X_core = polar_core/equat_core = Rmajor_core/Rminor_core
+T_shell = equat_outer - equat_core = Rminor_outer - Rminor_core,
+XpolarShell = Tpolar_shell/T_shell = (Rmajor_outer - Rmajor_core)/(Rminor_outer - Rminor_core)</p>
+
+<p>In terms of the original radii:
+polar_core = equat_core * X_core,  equat_shell = equat_core + T_shell
+polar_shell = equat_core * X_core  + T_shell*XpolarShell
+(where we note that "shell" perhaps confusingly, relates to the outer radius).</p>
+
+<p>When X_core &lt; 1 the core is oblate, when X_core &gt; 1  it is prolate, 
+X_core =1 is a spherical core. For a fixed shell thickness XpolarShell = 1, to scale the 
+shell thickness pro-rata with the radius XpolarShell = X_core.</p>
+
+<p>When including and S(Q), the radius in S(Q) is calculated to be that of a
+ sphere with the same 2nd virial coefficient of the outr surface of the ellipsoid. 
+ This may have some undesirable effects if the aspect ratio of the ellipsoid is 
+ large ( X&lt;&lt;1 or X&gt;&gt;1), when the S(Q) which assumes spheres wil not in any case be valid.</p>
+ 
+<p>If SANS data are in absolute units, and sld's are correct, then "scale" should be the total 
+volume fraction of the "outer particle". When S(Q) is introduced this moves to the S(Q) 
+volume fraction, and "scale" should then be 1.0, or contain some ther units conversion factor 
+if you have say Xray data.</p>
+
+
+<div align="center">
+<table style="border-collapse: collapse;" border="2" cellspacing="0" cellpadding="0">
+<tbody>
+<tr style="height: 18.8pt;">
+<td style="border: 1pt solid width: 107pt; height: 18.8pt;" valign="top" width="143">
+<p>Parameter name</p>
+</td>
+<td style="border-width: 1pt 1pt 1pt medium; width: 107pt; height: 18.8pt;" valign="top" width="143">
+<p>Units</p>
+</td>
+<td style="border-width: 1pt 1pt 1pt medium; width: 107pt; height: 18.8pt;" valign="top" width="143">
+<p>Default value</p>
+</td>
+</tr>
+<tr style="height: 18.8pt;">
+<td style="border-width: medium 1pt 1pt; width: 107pt; height: 18.8pt;" valign="top" width="143">
+<p>background</p>
+</td>
+<td style="border-width: medium 1pt 1pt medium; width: 107pt; height: 18.8pt;" valign="top" width="143">
+<p>cm-1</p>
+</td>
+<td style="border-width: medium 1pt 1pt medium; width: 107pt; height: 18.8pt;" valign="top" width="143">
+<p>0.001</p>
+</td>
+</tr>
+<tr style="height: 18.8pt;">
+<td style="border-width: medium 1pt 1pt; width: 107pt; height: 18.8pt;" valign="top" width="143">
+<p>equat_core</p>
+</td>
+<td style="border-width: medium 1pt 1pt medium; width: 107pt; height: 18.8pt;" valign="top" width="143">
+<p>&Aring;</p>
+</td>
+<td style="border-width: medium 1pt 1pt medium; width: 107pt; height: 18.8pt;" valign="top" width="143">
+<p>20</p>
+</td>
+</tr>
+<tr style="height: 18.8pt;">
+<td style="border-width: medium 1pt 1pt; vertical-align: top; width: 107pt; height: 18.8pt;">
+<p>scale</p>
+</td>
+<td style="border-width: medium 1pt 1pt medium; width: 107pt; height: 18.8pt;" valign="top" width="143">
+<p></p>
+</td>
+<td style="border-width: medium 1pt 1pt medium; width: 107pt; height: 18.8pt;" valign="top" width="143">
+<p>0.05</p>
+</td>
+</tr>
+<tr style="height: 18.8pt;">
+<td style="border-width: medium 1pt 1pt; width: 107pt; height: 18.8pt;" valign="top" width="143">
+<p>sld_core</p>
+</td>
+<td style="border-width: medium 1pt 1pt medium; width: 107pt; height: 18.8pt;" valign="top" width="143">
+<p>&Aring; -2</p>
+</td>
+<td style="border-width: medium 1pt 1pt medium; width: 107pt; height: 18.8pt;" valign="top" width="143">
+<p>2.0e-6</p>
+</td>
+</tr>
+<tr style="height: 18.8pt;">
+<td style="border-width: medium 1pt 1pt; width: 107pt; height: 18.8pt;" valign="top" width="143">
+<p>sld_shell</p>
+</td>
+<td style="border-width: medium 1pt 1pt medium; width: 107pt; height: 18.8pt;" valign="top" width="143">
+<p>&Aring; -2</p>
+</td>
+<td style="border-width: medium 1pt 1pt medium; width: 107pt; height: 18.8pt;" valign="top" width="143">
+<p>1.0e-6</p>
+</td>
+</tr>
+<tr style="height: 18.8pt;">
+<td style="border-width: medium 1pt 1pt; width: 107pt; height: 18.8pt;" valign="top" width="143">
+<p>sld_solv</p>
+</td>
+<td style="border-width: medium 1pt 1pt medium; width: 107pt; height: 18.8pt;" valign="top" width="143">
+<p>&Aring; -2</p>
+</td>
+<td style="border-width: medium 1pt 1pt medium; width: 107pt; height: 18.8pt;" valign="top" width="143">
+<p>6.3e-6</p>
+</td>
+</tr>
+<tr style="height: 18.8pt;">
+<td style="border-width: medium 1pt 1pt; width: 107pt; height: 18.8pt;" valign="top" width="143">
+<p>T_shell</p>
+</td>
+<td style="border-width: medium 1pt 1pt medium; width: 107pt; height: 18.8pt;" valign="top" width="143">
+<p>&Aring;</p>
+</td>
+<td style="border-width: medium 1pt 1pt medium; width: 107pt; height: 18.8pt;" valign="top" width="143">
+<p>30</p>
+</td>
+</tr>
+<tr style="height: 18.8pt;">
+<td style="border-width: medium 1pt 1pt; width: 107pt; height: 18.8pt;" valign="top" width="143">
+<p>X_core</p>
+</td>
+<td style="border-width: medium 1pt 1pt medium; width: 107pt; height: 18.8pt;" valign="top" width="143">
+<p></p>
+</td>
+<td style="border-width: medium 1pt 1pt medium; width: 107pt; height: 18.8pt;" valign="top" width="143">
+<p>3.0</p>
+</td>
+</tr>
+<tr style="height: 18.8pt;">
+<td style="border-width: medium 1pt 1pt; width: 107pt; height: 18.8pt;" valign="top" width="143">
+<p>XpolarShell</p>
+</td>
+<td style="border-width: medium 1pt 1pt medium; width: 107pt; height: 18.8pt;" valign="top" width="143"></td>
+<td style="border-width: medium 1pt 1pt medium; width: 107pt; height: 18.8pt;" valign="top" width="143">
+<p>1.0</p>
+</td>
+</tr>
+</tbody>
+</table>
+</div>
+
+
+
+
+
+
+
+
+
+<p style="margin-left: 0.55in; text-indent: -0.3in;"><b><span style="font-size: 14pt;">2.33.</span></b><b><span style="font-size: 7pt;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span></b><a name="TriaxialEllipsoidModel"></a><b><span style="font-size: 14pt;">TriaxialEllipsoidModel</span></b></p>
 <p>This model provides the form factor, P(<em>q</em>), for an ellipsoid (below) where all three axes are of different lengths, i.e.,&nbsp; Ra =&lt; Rb =&lt; Rc (Note that users should maintains this inequality for the all calculations).&nbsp; P(q) = scale*&lt;f^2&gt;/V+background where the volume V= 4pi/3*Ra*Rb*Rc, and the averaging &lt; &gt;&nbsp; is applied over all orientation for 1D. &nbsp;</p>
 <p style="text-align: center;" align="center">&nbsp;&nbsp;<img id="Picture 42" src="img/image128.jpg" alt="" width="376" height="226" /></p>
@@ -3970,5 +4455,5 @@
 
 
-<p style="margin-left: 0.55in; text-indent: -0.3in;"><b><span style="font-size: 14pt;">2.30.</span></b><b><span style="font-size: 7pt;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span></b><a name="LamellarModel"></a><b><span style="font-size: 14pt;">LamellarModel</span></b></p>
+<p style="margin-left: 0.55in; text-indent: -0.3in;"><b><span style="font-size: 14pt;">2.34.</span></b><b><span style="font-size: 7pt;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span></b><a name="LamellarModel"></a><b><span style="font-size: 14pt;">LamellarModel</span></b></p>
 <p>This model provides the scattering intensity, I(<em>q</em>), for a lyotropic lamellar phase where a uniform SLD and random distribution in solution are assumed. &nbsp;The ploydispersion in the bilayer thickness can be applied from the GUI.</p>
 <p>The scattering intensity I(q) is:</p>
@@ -4057,5 +4542,5 @@
 <p>Nallet, Laversanne, and Roux, J. Phys. II France, 3, (1993) 487-502.</p>
 <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; also in J. Phys. Chem. B, 105, (2001) 11081-11088.</p>
-<p style="margin-left: 0.55in; text-indent: -0.3in;"><b><span style="font-size: 14pt;">2.31.</span></b><b><span style="font-size: 7pt;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span></b><a name="LamellarFFHGModel"></a><b><span style="font-size: 14pt;">LamellarFFHGModel</span></b></p>
+<p style="margin-left: 0.55in; text-indent: -0.3in;"><b><span style="font-size: 14pt;">2.35.</span></b><b><span style="font-size: 7pt;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span></b><a name="LamellarFFHGModel"></a><b><span style="font-size: 14pt;">LamellarFFHGModel</span></b></p>
 <p>This model provides the scattering intensity, I(<em>q</em>), for a lyotropic lamellar phase where a random distribution in solution are assumed. &nbsp;The SLD of the head region is taken to be different from the SLD of the tail region.</p>
 <p>The scattering intensity I(q) is:</p>
@@ -4166,5 +4651,5 @@
 <p>Nallet, Laversanne, and Roux, J. Phys. II France, 3, (1993) 487-502.</p>
 <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; also in J. Phys. Chem. B, 105, (2001) 11081-11088.</p>
-<p style="margin-left: 0.55in; text-indent: -0.3in;"><b><span style="font-size: 14pt;">2.32.</span></b><b><span style="font-size: 7pt;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span></b><a name="LamellarPSModel"></a><b><span style="font-size: 14pt;">LamellarPSModel</span></b></p>
+<p style="margin-left: 0.55in; text-indent: -0.3in;"><b><span style="font-size: 14pt;">2.36.</span></b><b><span style="font-size: 7pt;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span></b><a name="LamellarPSModel"></a><b><span style="font-size: 14pt;">LamellarPSModel</span></b></p>
 <p>This model provides the scattering intensity (<b>form factor</b> <b>*</b> <b>structure factor</b>), I(<em>q</em>), for a lyotropic lamellar phase where a random distribution in solution are assumed.</p>
 <p>The scattering intensity I(q) is:</p>
@@ -4279,5 +4764,5 @@
 <p>Nallet, Laversanne, and Roux, J. Phys. II France, 3, (1993) 487-502.</p>
 <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; also in J. Phys. Chem. B, 105, (2001) 11081-11088.</p>
-<p style="margin-left: 0.55in; text-indent: -0.3in;"><b><span style="font-size: 14pt;">2.33.</span></b><b><span style="font-size: 7pt;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span></b><a name="LamellarPSHGModel"></a><b><span style="font-size: 14pt;">LamellarPSHGModel</span></b></p>
+<p style="margin-left: 0.55in; text-indent: -0.3in;"><b><span style="font-size: 14pt;">2.37.</span></b><b><span style="font-size: 7pt;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span></b><a name="LamellarPSHGModel"></a><b><span style="font-size: 14pt;">LamellarPSHGModel</span></b></p>
 <p>This model provides the scattering intensity (<b>form factor</b> <b>*</b> <b>structure factor</b>), I(<em>q</em>), for a lyotropic lamellar phase where a random distribution in solution are assumed. &nbsp;The SLD of the head region is taken to be different from the SLD of the tail region.</p>
 <p>The scattering intensity I(q) is:</p>
@@ -4426,5 +4911,5 @@
 <p>Nallet, Laversanne, and Roux, J. Phys. II France, 3, (1993) 487-502.</p>
 <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; also in J. Phys. Chem. B, 105, (2001) 11081-11088.</p>
-<p style="margin-left: 0.55in; text-indent: -0.3in;"><b><span style="font-size: 14pt;">2.34.</span></b><b><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></b><a name="LamellarPCrystalModel"></a><b><span style="font-size: 14pt;">LamellarPCrystalModel</span></b></p>
+<p style="margin-left: 0.55in; text-indent: -0.3in;"><b><span style="font-size: 14pt;">2.38.</span></b><b><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></b><a name="LamellarPCrystalModel"></a><b><span style="font-size: 14pt;">LamellarPCrystalModel</span></b></p>
 <p>Lamella ParaCrystal Model: Calculates the scattering from a stack of repeating lamellar structures. The stacks of lamellae (infinite in lateral dimension) are treated as a paracrystal to account for the repeating spacing. The repeat distance is further characterized by a Gaussian polydispersity. This model can be used for large multilamellar vesicles.</p>
 <p>The scattering intensity I(q) is calculated as:</p>
@@ -4542,5 +5027,5 @@
 <p>REFERENCE</p>
 <p>M. Bergstrom, J. S. Pedersen, P. Schurtenberger, S. U. Egelhaaf, J. Phys. Chem. B, 103 (1999) 9888-9897.</p>
-<p style="margin-left: 0.55in; text-indent: -0.3in;"><b><span style="font-size: 14pt;">2.35.</span></b><b><span style="font-size: 7pt;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span></b><a name="SCCrystalModel"></a><b><span style="font-size: 14pt;">SC(Simple Cubic Para-)CrystalModel</span></b></p>
+<p style="margin-left: 0.55in; text-indent: -0.3in;"><b><span style="font-size: 14pt;">2.39.</span></b><b><span style="font-size: 7pt;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span></b><a name="SCCrystalModel"></a><b><span style="font-size: 14pt;">SC(Simple Cubic Para-)CrystalModel</span></b></p>
 <p>Calculates the scattering from a simple cubic lattice with paracrystalline distortion. Thermal vibrations are considered to be negligible, and the size of the paracrystal is infinitely large. Paracrystalline distortion is assumed to be isotropic and characterized by a Gaussian distribution.</p>
 <p>The returned value is scaled to units of [cm-1sr-1], absolute scale.</p>
@@ -4666,5 +5151,5 @@
 <p style="text-align: center;" align="center"><b><img src="img/image157.jpg" alt="" width="447" height="322" /></b></p>
 <p style="text-align: center;" align="center"><b>Figure. 2D plot using the default values (w/200X200 pixels).</b></p>
-<p style="margin-left: 0.55in; text-indent: -0.3in;"><b><span style="font-size: 14pt;">2.36.</span></b><b><span style="font-size: 7pt;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span></b><a name="FCCrystalModel"></a><b><span style="font-size: 14pt;">FC(Face Centered Cubic Para-)CrystalModel</span></b></p>
+<p style="margin-left: 0.55in; text-indent: -0.3in;"><b><span style="font-size: 14pt;">2.40.</span></b><b><span style="font-size: 7pt;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span></b><a name="FCCrystalModel"></a><b><span style="font-size: 14pt;">FC(Face Centered Cubic Para-)CrystalModel</span></b></p>
 <p>Calculates the scattering from a face-centered cubic lattice with paracrystalline distortion. Thermal vibrations are considered to be negligible, and the size of the paracrystal is infinitely large. Paracrystalline distortion is assumed to be isotropic and characterized by a Gaussian distribution.&nbsp;</p>
 <p>The returned value is scaled to units of [cm-1sr-1], absolute scale.</p>
@@ -4791,5 +5276,5 @@
 <p style="text-align: center;" align="center"><img src="img/image166.jpg" alt="" width="473" height="352" /></p>
 <p style="text-align: center;" align="center"><b>Figure. 2D plot using the default values (w/200X200 pixels).</b></p>
-<p style="margin-left: 0.55in; text-indent: -0.3in;"><b><span style="font-size: 14pt;">2.37.</span></b><b><span style="font-size: 7pt;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span></b><a name="BCCrystalModel"></a><b><span style="font-size: 14pt;">BC(Body Centered Cubic Para-)CrystalModel</span></b></p>
+<p style="margin-left: 0.55in; text-indent: -0.3in;"><b><span style="font-size: 14pt;">2.41.</span></b><b><span style="font-size: 7pt;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span></b><a name="BCCrystalModel"></a><b><span style="font-size: 14pt;">BC(Body Centered Cubic Para-)CrystalModel</span></b></p>
 <p>Calculates the scattering from a body-centered cubic lattice with paracrystalline distortion. Thermal vibrations are considered to be negligible, and the size of the paracrystal is infinitely large. Paracrystalline distortion is assumed to be isotropic and characterized by a Gaussian distribution.The returned value is scaled to units of [cm-1sr-1], absolute scale.</p>
 <p>The scattering intensity I(q) is calculated as:</p>
