Electrical and Thermal Local Effects Simulation for Electromigration