Gaussian Processes, Function Theory, and the Inverse Spectral Problem