Moved the code that initializes the patient tform property into the readImages function instead of the coregistration functions.