update source to add rounding to average before typecasting
Merge branch 'master' of https://github.com/jorianvo/HISPARC_baseline