Characterization of the neural circuits of the basal ganglia and the pre-botzinger complex using mathematical and computational approaches.