16 channel averaging fix

fixed the math for averaging channel data to retain the sign of the
values.