FEM Approach to the Numerical Simulation of Vector Hysteresis