check for d=0 when evaluating LLH
Merge branch 'master' of github.com:redpony/cpyp