Linear algebra, Fourier transforms and probability