DC resistivity modelling with a Gaussian quadrature grid