change calculating tw for Gaussian wave
remove id in updateE[xyz]