Added some utility code.
Merge branch 'master' of https://github.com/grisetti/g2o_frontend