Work on variants.py; now runs. More verification to come.
Updated documentation. Note: variants and emendations require further work. This should all be documented.