Create MagneticFieldSensor