Updated wolff to matrices