Changed the ordering of evaluation for optimization.
Now scores are calculated incrementally, all targets at the same time.
Fixed bug on initialization of dd,da,ad,aa.
Changed evalCandidates to local variable.