Please ignore this remix and have a look at the original one by @Griffpatch! This one here is just a temporary remix including a minor bugfix. Once this is incorporated in the original project, this remix will be deleted.
Fixed a glitch by replacing "if y1=y2 ..." with "if abs(y1-y2)<0.01 ..." in block "Find intersect between".