Here the ELASTICITY parameter is set to 1, to indicate that collisions with walls are perfectly elastic. We appear to gain a small (relative to system) amount of total energy with each hit. This effect likely exists with other choices of ELASTICITY, but this should be the simplest case to analyze.

