Global Stability Analysis Of Shear Flows