https://medium.com/@monocosmo77/research-on-total-variation-distance-for-machine-learning-part5-1787922d1d90