https://medium.com/@monocosmo77/use-cases-of-moment-generating-functions-in-machine-learning-part3-879e250a9a05