Design of the Processors for Fast Cosine and Sine Fourier Transforms