Fix sign error in entropy calculation
Merge pull request #43 from priorknowledge/fix-entropy

Fix sign error in entropy calculation