Finished Affine class.  Untested.