mri affine transformation not working