The Theory of Stochastic Processes, with Particular Reference to Applications