The addData( ) method takes new values for all three space axes and
appends them to their corresponding buffers. If the buffer runs full,
the oldest buffer entries will be dropped. With getX( ), getY( ), and getZ( ),
you can request the current average acceleration value for each axis.
All three methods delegate their work to the getAverageValue( ) method.