Fix bug in edge vector.  Program works