RF: quantization functions raise ValueError instead of Nones when attempting to quantize at less than 2 levels