Quantization Revisited

Last fall I had to disable quantization, and a few other features, to make some changes to the codebase. I finally got around to re-enabling the features and also made some much needed improvements!

See the details here: