Updated ADXL345 class