Displacement statistics

A few functions are added so that the displacement of each agent from its initial position can be measured.

This is useful  for studying the distribution of the distances travelled.