Fitted .gitignore.
Replaced own Line intersection detection with a much faster one.