Added distance travelled funtion to low