https://medium.com/@monocosmo77/research-on-total-variation-distance-for-machine-learning-part6-9b14f8a23ba8