Soft magnetic materials and devices on energy applications