testing and extending of outer_spacing function.
New roxygen version.
Updated functions for outer segments.