updated model to link segments to days instead of trips, wrote milage calucaltion for segments in seed.py