intermediate results #126
Fix #126
Added intersection check with connection lines between features.
Small refactoring.
Merge branch 'issue_126'