Human-in-the-Loop Optimization Algorithm for Thigh Haptic Feedback System