3‐D magnetic inversion with data compression and image focusing