Fixed code but left undocumented the make_dyads function and broke the plot_dyad command