Changed code back to randomize at start of every new temperature