Added functions to calculate speeds of vehicles depending on dist b/w stops.