added deterministic annealing