Fixed bug caused by an update in the igraph package (had to convert from new data.frame to matrix)
Removed pointless print statement.