Revised version submitted Nov 29

- Responded to JNeurosci reviews
- Now using doit to analyze, plot etc
- Many other improvements; see the diff