From CNNs to Shift-Invariant Twin Wavelet Models