Offer more segmentation methods

Add mean, median and max.