[Freesurfer] translations and rotations from an affine transform matrix