ergm.geodistdist calculates geodesic distance distribution for a
given network and returns it as a vector.
ergm.geodistn calculates geodesic deistance
distribution based on an input edgelist, and has very little
error checking so should not normally be called by users. The C
code requires the edgelist to be directed and sorted correctly.