added basic statistics. need to figure out why program is slowing down after initial ~500 shots. It is not because of floating point computation for average.