add affine transforms

adds a method to Multipoint-derived geometries that performs an affine
transformation, and adds a stand-alone function for computing affine matrices
from control points

useful for simple corrections to misreferenced vector data
fix typo
add tests for affine transforms