added plotting to benchmark multithreading code