Text this: Orientation Prediction for VR and AR Devices Using Inertial Sensors Based on Kalman-Like Error Compensation