Adding almost optimal probability domain base class. This class
contains the common code amongst domain implementations with this
set of probabilities. The forward and adjoint classes extend the
base class with implementation details.