modified vertex_to_mri to use transformation conventions