Working dCompass

Corrected errors with the dCompass sensor.  Problem with the C and
Python code corrected.