A least-squares identification algorithm for estimating squat exercise mechanics using a single inertial measurement unit.