Filtering acceleration data