Fixed Arithmetic Exception in LocalExtrema

	NumTasks should never be 0
Merge branch 'gauss-executionservice' into knip