Advanced Time-Domain Finite-Element Method for Electromagnetic Analysis