Semi-implicit integration scheme for Landau–Lifshitz–Gilbert-Slonczewski equation