function computeDivergence(distributions) {
  if (distributions[0].length === distributions[1].length) {
    return kldivergence(distributions[0], distributions[1]);
  }
  return Number.MAX_SAFE_INTEGER;
}
@param {[Array]} distributions - an array of 2 arrays, 2 normalized distributions
@return {Number}