Made benchmark scripts more robust, computed averages instead of sums
Modified to use hash tables so that values are kept separated