changed combinePreds to memory-safe version using calc, and also providing median.
Updated doc and tutorial.