Fixed the calculation for velocity. Didn't work right for the case when less than a week has passed and the MVF started in the previous week.