added rate dependence, it has the same input as the peakVsCurr
really minor modification
added program for clustering. the algorithm is not good, it just handles at most 2 pix per event