The function will reset a clamped CRF by changing the states of fixed nodes.
The vector clamped contains the desired state for each node
while zero means the state is not fixed. The node and edge potentials are
updated to the conditional potentials based on the clamped vector.