Calculates the negligibilty function of the walsh transform)