added quantize and normalize wrappers and dithermethod enum