Hi!
I'm currently researching the exact same problem. You have to integrate the gravity-free data or otherwise you will have constant "velocity". I've tried several different filters and is now trying to implement a Kalman filter.
What resources do you have and what are the measurement from?