reverted to original way of generating mri grid since its faster than mgrid