DX, DP added to Affine Family

Follows #324.

Note that this will break unit tests that use Affine in the fit package - this is to be expected.