adding tolerance to findintersections and example figure.