Magnetic exchange interactions