Improved documentation.
Added function to quantize images.
Removed obsolete code.