Changes to writeStimFile in utils.py.

-) Added the possibility to specify the amplitudes of the preamble pulses.
-) Fixed a typo in kernel.py.