A model for arc plasma's optical diagnosis by the measurement of the refractive index