Landau-Lifshitz-Gilbert ODE model