Thread safety fix for MagneticField/Engine:  Member data modified in const function
Merge pull request #1497 from smuzaffar/thread-safety-fix-MagneticField-Engine

Multithreading fixes -- MagneticField/Engine:  Member data modified in const function