Fix my shitty day of week calculations; what was I thinking?