Interplay between Zeeman coupling and swap action in spin-based quantum computer models: error correction in inhomogeneous magnetic fields.