I rewrote the distance function to be more efficient and added more stuff to the notebooks. I have also changed things in the data2spikeTrains file (or whatever its called...)