Added 8bit integer quantize functions.