three-layer resistivity model