Dendrograms (updated)

Replaces #376, #374