More documentation.
Improved benchmarking code.