Modelling earthing systems and cables with moment methods