Interactions of Magnetic Pendulums