Stability of Magnetically Trapped Bose–Einstein Condensates