changed initial value of g for pure.seasonal