made distance calculation deal with arena boundaries
made distance calculation deal with arena boundaries

fgolemo/dataCollector,metamarkovic/dataCollector,fgolemo/dataCollector,metamarkovic/dataCollector