fixed setHeater and setFastMeasurement

In the previous code, if either the heater or fast measurement setting was off and you tried to turn it off, it would turn them on. This is because 0 xor 0 equals 1.

Reviewed by: @tcr @jiahuang @ekolker