A couple of small changes.
removed a comment, tried to fix some whitespace
removed duplicate code by changing perturb
Fixed the problem with paired variables
Merge branch 'ResearchProblem' into ILS-random-restarts-addition
ILSOptimize is working, but not well