lots of mods to magnetics
added response and orientation calcs to the magnetics module