Add bool redundant_dm to indicate the cases when redundant distance matrix is used as input

Add bool redundant_dm to indicate the cases when redundant distance matrix is used as input. In such cases, the redundant distance matrices are converted to condensed form using squareform.