Application of a 3-D real-time motion analysis technique for the development of closed-loop control systems for FES.