Methods for calculating walking distances