Included the option to pick a distribution for the benchmark.

Also made some error messages more clear.
Moved approximating of exp() to its own file.