deleted most of the extraneous code. A functional version of the somatic model written in Brian