Text this: Modelling of a Resonant Charging Circuit for a Solid-State Marx Generator