Text this: Measurement and processing of fast pulsed discharge current in plasma focus machines