Text this: Variational Integrators and Generating Functions for Stochastic Hamiltonian Systems