bug in sunpath for weekly periods fixed

Weekly analysisPeriod was sending a month out. This is fixed