Initial code for Magnetic Field Objects. Not in action yet.