Gravar e-mail: Numerical analysis of stochastic SIR model by Legendre spectral collocation method