fixed bug: temporary calculation was saved in BYTE instead of sDWORD
fixed bug: BYTE was incorrectly negated, should negate result after converting to sDWORD
fixed bug: temporary calculation was accidentally zeroed out with an AND.  stupid, stupid mistake.
made necessary changes to read and process 10-bit ADC values instead of 8-bit values