Accelerometer Fix and code comments.

This also takes out the Tiff magic library