https://medium.com/@monocosmo77/working-with-jensen-shannon-divergence-part1-machine-learning-90c3e05596fe