A Multi-Scale Analysis of the Impact of Background Magnetic Field Inhomogeneity on Surface Nuclear Magnetic Resonance