Code documentation

The following documentation is generated directly from the source code. It should enable an overview of the different options which are available for different optimisers.