Analytical solutions of Landau-Lifshitz equation for precessional dynamics