Filtering motion capture data for real-time applications