bug in the simulation; fixed with range based for loop
Merge branch 'master' of github.com:raymondvaldes/tat