added LearnRecord.FITNESS_FUNC, fixed LR.aggregateResults()
/improved parsing of discrete vars
merge