Revert f31b801..546bc84

This rolls back to commit f31b801a56a92e463f48a76aa2f93f0aa7043aaf.
Revert 546bc84..a334cbc

This rolls back to commit 546bc847231fa6c7a09f6753e433e38a6da00499.
add  find intersections of line segments