Move time and distance based cost calcluation to own functions, limit
time cost to daily rate.