Current crowding and spreading resistance of electrical contacts with irregular contact edges