bug fixes in lib/likelihood.py
Merge branch 'master' of github.com:rmcgibbo/opt-k