A mathematical model for the stochastic behaviour of species near the cathode in arc welding