Multicomponent Reaction Modelling using a Stochastic Algorithm