Computes the upper semi-midmean for an array of numeric values