fixed graph stats
added np.real_if_close in network stats method (path length based calculations)