Development and characterization of the magnetic plasmatron