fixing day of the year function