further attempt at issue #1, this time replacing the changedWaveFronts set by an array, thus ensuring consistent order of recomputation of changed wavefronts; also adds another test stl