Implemented computeIntersections: Data obtained by detectIntersections is now used to compute 361 intersections by kmeans algorithm
update todo