Understanding Demagnetizing Coils in Industrial Applications