Electrophysiological spike detection for large dense electrode array