On the Linear and Nonlinear Stability Analyses of Inviscid Incompressible Shear flows in Channels with Variable Cross Sections