High performance and low-cost permanent magnet devices