Sequential pattern recognition procedures derived from multiple Fourier series