There is another (than Bug in the twiddle) bug in the twiddle - the values are not updated even if better are found. Why?
Because old error has a handicap of K factor in the if below:
I've replaced this with:
in lines 625-627, 640-642, and it seems to work fine (the values are updated).