The application of correlation functions in the detection of smal signals in noise