Similar Items: Statistics of a multi-factor function from its Fourier transform