Model Based Optimization of Spinal Cord Stimulation