Rewrite commentar at trapezoidation
introduced getHorizontalExtensions. killed unused code and commentar in segutils
Fixed some compiler errors - left some template errors
Fixed all compiler errors
Killed unused method. Fixed tabs.