adding a lot of functionality
Merge pull request #19 from clandere/master

change of convergence test, change of plotCUB, adding options to config