A homogeneity correction method for magnetic resonance imaging with time-varying gradients | Synapse