Efficient inversionof magnetotelluricdatain two dimensions