Distribution of velocities in an avalanche, and related quantities: Theory and numerical verification