get_D_KL function

Calculates the Kullback-Leibler divergence between distributions.