added uai to opengm converter