Small modifications to the ADXL345 Library

Signed-off-by: Dominic Baratta <dbaratta@buffalo.edu>