More bug fixes. Precompute for magnetic field and particle path confirmed working.