Added functionality to the command line parser (not tested yet).
Fiexed a bug with simulated annealing