outputting x, y z from accelerometer