Late commit of old changes - mainly fixed median in ChanHull