16.940 Numerical Methods for Stochastic Modeling and Inference