Spike detector has now an option to sync threshold across all electrodes

read events script upgraded to build trial matrix