Added class to track segment stats.  Changed delegate protocol to pass ASLineSegment* instead of ASSegmentDirection.