FIX precomputed distances on the hierarchical clustering

The precomputed distances now works properly with the hierarchical clustering.
Added a comment to explain the strange interface.