Matlab Nosie/Quantization Code