KLD in stats.js

Implementation of KL Divergence.