`analyzeMagnets`: fixed divide-by-zero issue.`elasticScatteringLifetime`: Use different integration method to avoid issues with Gill-Miller when s values have an irregular distribution.`beamLifetimeCalc`: Use bremsstrahlung cross section from [39] and separation into nuclear and electron terms following [40]. Previously, used erroneous expressions from [41].`bremsstrahlungLifetime`: Use different integration method to avoid issues with Gill-Miller when s values have an irregular distribution. Use bremsstrahlung cross section from [39] and separation into nuclear and electron terms following [40]. Previously, used erroneous expressions from [41].`longitCalcs`: added option for a harmonic bunch-lenghtening cavity.`sddsrandmult`: now possible to have reference radius different from the magnet bore radius.`touschekLifetime`: if momentum aperture is zero, returns zero lifetime instead of running forever.

Robert Soliday 2014-06-26