Calculate distance and calories