pub fn centroid_fold<T>(
    basepair_probs: &SparseProbMat<T>,
    seq_len: usize,
    centroid_threshold: Prob
) -> CentroidFold<T>where
    T: HashIndex,