High voltage dc generation using marx generator pdf