addacedge improvements in speed
fixed a bug in vedgelist