expected Counts
fun expectedCounts(histogram: Histogram, discreteCDF: ProbInRangeIfc): Pair<DoubleArray, DoubleArray>
Returns the expected counts for each bin of the histogram as the first element of the Pair. The second element is the probability associated with each bin of the histogram. The discrete distribution, discreteCDF must implement the ProbInRangeIfc interface