An approach to fault diagnosis of nonlinear systems using neural networks with invariance to Fourier transform