Removed the parameter dictionary from the Registration optimizers. Extended self.optimize to receive the images to register as parameters