Customized magnetic components