https://medium.com/@monocosmo77/use-cases-of-moment-generating-functions-in-machine-learning-part4-56652a63fdf0