Quantization And Quantization Error Calculation