rare earths for permanent magnets