On the Wavelet Scattering Transform and its Generalizations