NMR frequency pulling in magnetic systems