Add a compatability to g2o files from the vertigo (https://github.com/haidai/vertigo) Fix an error from the original version