Tweaks to registerImagesWithNiftyreg(); updates to reg-linear and reg-nonlinear scripts