Quant algorithm added
Merge pull request #7 from andrey3aytsev/const

Quant algorithm added