Closes #17.
Segment.cs: formatted code.