function [NrOfclustersFound, assigned] = clusterSpikes( allSpikes, allTimestamps,thres )
DESCRIPTION
first step in online spike sorting.
clusters spike according to their form.
thres is the sensitive parameter -- change if result is not satisfying.
%urut/april04
thres=500;