Fixed wiggle formula.