Misc updates and fixes to the code, including a re-ordering of parameters to ensure TR1 compatibility. Updated test data. Ellint docs added.