fixed indexing bug in elevations
added plotting from headwaters to outsegs