Polarization-independent optical switch with multiple sections of Δβ reversal and a Gaussian taper function