Created functions to plot objective costs and total travel time.