NMR imaging in the presence of magnetic field inhomogeneities and gradient field nonlinearities | Synapse