Moving averages and their smoothing effect