Improved the glitcher and added a testbench.
Fixed glitch_core.