The Interaction of Vacuum Arcs with Magnetic Fields and Applications