Study of the natural oscillations of cylindrical plasmas by the finite element method