started working on a function to find spikes and return a neo spike train object