Calculates the orientation of all fiber segments.
fiber ((nx4)-array) – fiber object
res – arrays of spherical coordinates phi and theta for all fiber segments
1d-array, 1d-array