Calculation of the Induced Effects due to a Lightning Stroke