Text this: Orthogonal Discrete Fourier and Cosine Matrices for Signal Processing