Fixed error in AlphaTwiddle calculation and vectorized calculation.