A Finite Element Procedure for Dynamic Micromagnetic Computations