LeavesMedians function

Computes medians of leaves given cytomeTreeObj.