uniform quantizer with GUI