Fixed Bug in Benchmarking Code