A tool for neuronal waveform visualization and spike sorting