Changed driver to output acceleration values as floats instead of integers, accelerometer check function ready for testing.