Removed x86 assembly, replaced with fast portable algorithm.
Merge pull request #41 from jeremysalwen/portable_log2

Removed x86 assembly, replaced with fast portable algorithm.