Add to TRW-S bindings ability to use Potts model when labels matrix is not specified