Bugfixes and refinements to the documentation, thanks to Vlad Mencl <vladimir.mencl@canterbury.ac.nz>.