Fast Quantum Algorithms for Numerical Integrals and Stochastic Processes