Implement mean magnetic dipole dipole interaction. The calculation of the magnetic gradients needs more testing!