Patch Boundar Derivatives on Tube Segments

Calculation of derivaties on tube segments is implemented. Some fine-tuning for determining the optimal derivate vector magnitude is required.