added option to highlight the intersecting triangles
restructuring visualisation code