https://medium.com/@monocosmo77/research-on-total-variation-distance-for-machine-learning-part7-87d83c02ac76