advantages of permanent magnets