Text this: The energy and cost calculation for a Marx pulse generator based on input dc voltage, capacitor values and number of stages