Digital autocorrelation by minicomputer (photon spectroscopy)