Topology optimization of a magnetic circuit in a loudspeaker driver