Text this: A real-time algorithm for movement assessment using fuzzy logic of hip arthroplasty patients