Fix getDayOfYearFromTick not giving the correct day after 1 year of world life.
Fix getTempSpecificDay, days has to be in 0-95 range not 1-96.

This then fixes a crash happening in getMonthTempFactor due to the days > 95 and so the current month > 11 and fixes an "old" bug that returns wrong temp factor per month after 1 year of world life.