curveball function

Randomize an incidence matrix or bipartite graph using the curveball algorithm