Fix convert2nii() so that it will translate and crop when input and reference images are of different dimensions.