Computing average speed vectors.