Eddy currents in micromagnetic calculations