Stochastic and deterministic averaging processors