Quantum Techniques in Stochastic Mechanics