Refinement and automation using algorithmic control of BreathForce, a respiratory training system for patients with spinal cord Injuries.