Modified pulses protocol to use streams.
Improved pulses protocol.
Minor changes to the environment variables.
Fixed typos in pulses.py
Merge branch 'master' into develop
Added script for recording spontaneous activity.
Improved Rin script.
Fixed a few bugs.