removed normal pointers for moving image to prevent memory leaks and
replaced them with unique_ptr.

Added Intensity Rescaling before the registration.