Algorithms to reduce the computational cost of vector Preisach model in view of Finite Element analysis