Added logging for accelerometer and GPS data