A stochastic particle system approximating the BGK equation