Added method g2adj for data.frame
Solved names issue when list passed to netdist