A quasi analytical approach for the analysis of electromagnetic fields due to ESD in slab conductors