Magnetic purification systems