dithering working at 10kHz, adding 3rd loop for dithering inside fast loop