Added accelerometer support. At the moment just one function for getting X Y and Z coordinates as floating point values.