Get Affine to compile (unfortunately GND doesn't work with newtypes yet so I had to write out the instancE)