Magnetic Forces and Torque

Magnetic forces and torque are now applied to the magnets.
Unfortunately, when the magnets touch each other, they have a tendency
to fly off at crazy velocities, so that still needs to be fixed.