added CMake option to enable OpenGM support
added support for openGM models