fixed bug: second twiddle term was not shifted