Instead you might want to look into http://en.wikipedia.org/wiki/Kalman_filter which at the price of some calculation gives you a model-driven solution to your problem. Try googling around a bit - as far as I remember, the math is no quite as bad as it looks in the wikipedia article
Hope that helps!
- eth
