Problems of Gravitational Stability in the Presence of a Magnetic Field - scientific article published in the Astrophysical Journal