All public functions now use AffineMatrix.

Proposing this as the solution to #80.