adding function to convolve spike train with a gaussian