c++ implementation of arXiv:1305.1878
Merge pull request #1 from galank/master

c++ implementation of arXiv:1305.1878