The art of permanent magnets