Add averaging to final result compilation. Add parameter to task to choose which kind of result compilation will be used.
close #103.