Corrected serious error in multilayer conductivity

and parallelized the conductivity calculation