Three-dimensional modelling and inversion of dc resistivity data incorporating topography - II. Inversion | Synapse