how to make an electromagnetic pulse