High Order Hierarchic Finite Elements and Their Application on Eddy Current Losses in Permanent Magnets of Synchronous Machines