Theory of Stochastic Processes: With Applications to