Add functionality for week days.
Rebuilt next_day_calc().
Fixed some bugs.