Text this: Diagonal form of the Varchenko matrices