An improved implementation of adaptive quantizers for speech waveform encoding schemes