Set initial w, remove unneeded state vector.

Explicitly initialize w to zero. Remove state_ data member in
GainSchedule as it is not necessary.