3D inversion