Add fft, 2d_fft and sinwave to examples.