1. A system for neural modulation in the treatment of disease, comprising: A. a signal conditioning circuit; B. a sensor array in electronic communication with said signal conditioning circuit; C. a signal processor in electronic communication with said signal conditioning circuit, wherein said signal processor performs neural state estimation; D. a control circuit in electronic communication with said signal processor; E. an output stage circuit in electronic communication with said control circuit; and F. a stimulating electrode array, in electronic communication with said output stage circuit.