update the inference example to use rao-teh but this is not yet tested