Spike sorter functional with new statistics