Embedded Nanomagnets For Magnetic Resonance Force Microscopy