Processing of magnetotelluric data