Smooth 3D Trajectory Segmentation for Flying Insects