adding a function to round idates to the nearest week.