https://medium.com/@monocosmo77/revisiting-malliavin-calculus-for-machine-learning-part4-c6339d477b01