Elements of Stochastic Modeling