Affine maps

The test gives full coverage. I'll do algebraic tests for all maps later on (#64).