A Study of the Magnetic Field inside the Discharge Chamber of an Ion Thruster