Comment and documentation edits.
Simplify the page geometry calculations.

This replaces the strange set of calculations with the `geometry' package,
and brings the layout closer to that of the supplied LaTeX template
(although there wasn't a significant deviation before).