Added function to correctly calculate year's Doomsday