Fixed first three frequencies, they weren't calculating twiddle factors with the correct formulae. Also added positive and negative masks to ensure that the twiddle factors save the correct value, and added parentheses for code style.