fix underflow issues by performing computation in log space
Merge pull request #85 from hammerlab/fix-underflow

Fix underflow issues by performing computation in log space