[FEATURE] Add average calculation method

Based on Dirichlet prior probability distribution
Sponsored by: CentronetMarketing, MovingDirectory