Eddy current loss analysis of permanent magnet using Finite Element Method