Chapter 4 Optically Detected Magnetic Resonance