Update electronCompare.C