Fixed array bound error in Wolff algorithm.