Finite-Element Simulation of the Depolarization Factor of Arbitrarily Shaped Inclusions