Changes to KLDivergence() for zero variance dimensions.