A geometric integration algorithm with applications to micromagnetics