NF: added new file for affine registration
Minor tweaks