added changes for using topup with different resolution of fMRI and diffusion data