On the Inversion Problem of Magnetic Ore Prospecting