Fix bug in ultrametric merge weight
Add documentation to ultrametric merge