Update documentation
Misc cleanups
Fix handling of content
Fix handling of leading coefficients
Generalize LEADCDET
Remove unused code
Add more checks for bad reduction
Avoid crash
Fix handling of leading coefficient
Avoid recursion in 'construct' and 'numberOfComputedEntries'