segmentStats function

Summary statistics for identified segments