AdaptiveBatchMeans
Does batch means on data as new values come in by:
storing data into up to
2 * targetBatchesbatches, and report the mean of each of thesewhen
2 * targetBatchesis reached, squash pairs of batches into one batch to gettargetBatchesbatches.