Bug Fix: was using ln not log2.
Merge pull request #71 from z4ns4tsu/master

Bug Fix: was using ln not log2.