Linear Time Complexity Deep Fourier Scattering Network and Extension to Nonlinear Invariants