Three-dimensional modelling and inversion of dc resistivity data incorporating topography - I. Modelling | Synapse