added changes to make python2.6 compatible
added conversion of jaccard similarity matrix to CSR format
added extraction of event based similarity by clustering events