Updated benchmarking

Automated benchmark runs with a script. Also prints the stats after running cProfile.