Changed svg styling to use css classes
Fixed bug where intersections are rendered twice