updated interface with new xgmath/cppbc bindings