Move to LaTeX3 syntax

Uses LaTeX3 where possible. Fixes some minor errors. Bumps version to 0.2.

References #5.