Sinewave generator is functional again.

+ speeding up FakeAttentionTransition by postponing scan to later stages