Email zadetek: Numerical analysis of stochastic SIR model by Legendre spectral collocation method