added S_eye(), updated w_0t calculation