Renamed ExploraAnalysis$optimization to optimizationResult, to avoid nameclass with function defined elsewhere
currentDataSet added to global context