fix bug in prediction with freq parameter specified
fix bug in periodIndex and lastSeason
regen docs