Add documentation for run() function.
Merge pull request #440 from ehuelsmann/master

Add documentation for run() function.