Tweaked Object tracking. Uses a weighted mean now. Works much better