Discrete Fourier Calculus and Graph Reconstruction