Change control flow for average/round
Merge pull request #27 from tihuan/update_average_result

Change control flow for average/round