Changed Compass Code

I was reading compass values directly from registers, now i am using a
library that first gives me compass calibration values, then give me the
ability to use the calibration values to get a correct reading from the
compass.
changes to compass code