DX, DP added to Affine Family.

Follows #322 by adding the interface to the Affine family of transformations and their tests.