FFT algorithms of base-2, base-4, mixed base and TFFT algorithm