Finite Element for Buckling of Curved Beams and Shells with Shear