Fixed problems with the counting of weeks in a year. Now, the first week can be in the old year (look for example at week 1 of year 2014, which starts in december 2013). Fixed also week count starting at 0.