Connected the variables in MainBatch to the settings class.
Added diagnostics parameters to the Parser.
Fixed bug with intervals.
Fixed bug in the setIterations method.
The bug with the intervalls was still there. Now really fixed it.(tested)
Added comments
Added description for MainBatch.