endpoint function

Computes end-point degrees for a bipartite network