added dithering to modify input spiketrain, added tmin, tmax to modify gdf data