redesign similarty measure object to allow different normalization strategies
update affine registration example
fixed python 3 issue
allow input transforms as arrays for resampling