Development of an implanted intramuscular EMG-triggered FES system for ambulation after incomplete spinal cord injury