Compute residual sum of squares (RSS) comparing empirical distance for a blob to an expected one for a cycle with each given order/designated hybrid. This is used in NANAUQ+ commands for resolving multifurcations in a tree of blobs to a cycle
fitCycleOrders(D, E, orders)
vector of RSSs, one for each order
an empirical distance table
an expected distance table, to be reordered
a vector indicating an order, or matrix whose rows give orders, to fit
resolveCycle
, resolveLevel1