accelerometer returns proper numbers